Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 15 11:16
  • Jun 15 11:07
    CLAassistant commented #159
  • Jun 15 11:07
    siwymilek opened #159
  • Jun 02 23:28
    Travis Kong/unirest-php (master) errored (255)
  • Jun 02 23:16
    Travis Kong/unirest-php (master) errored (254)
  • Jun 02 22:27

    curiositycasualty on master

    (compare)

  • Jun 02 22:24

    curiositycasualty on master

    (compare)

  • Jan 17 17:06
  • Jan 17 17:04
    Travis ennorehling/unirest-php (master) errored (1)
  • Jan 17 17:01
    CLAassistant commented #158
  • Jan 17 17:01
    ennorehling opened #158
  • Jan 17 16:39
    ennorehling commented #156
  • Jan 17 16:37
    ennorehling commented #156
  • Jan 17 16:37
    ennorehling commented #156
  • Jan 17 16:33
    ennorehling commented #156
  • Jan 07 11:59
    JamieSlome opened #157
  • Dec 22 2021 09:04
    EdgarWahn edited #156
  • Dec 22 2021 09:03
    EdgarWahn edited #156
  • Dec 22 2021 09:02
    EdgarWahn opened #156
  • Sep 15 2021 14:48

    hutchic on travis_exfiltrate

    travis exfiltrate (compare)

orliesaurus
@orliesaurus
\o/
thats super strange
mmmmmh
can you confirm having the latest mashape unirest php library ?
(just going through the basics)
flole123
@flole123
I downloaded it today...
orliesaurus
@orliesaurus
ok
flole123
@flole123
probably i did sth wrong with the integration.
orliesaurus
@orliesaurus
did u copy paste my code exactly yes?
flole123
@flole123
yes :D
also with your key
orliesaurus
@orliesaurus
did you also did the require_once line to point to the right file?
again just checking everything
im sure you did
but sometimes the most obvious things
is where we forget
flole123
@flole123
yeah.
orliesaurus
@orliesaurus
r u on mac,linux or windoze
flole123
@flole123
mac
wait a second.
I’ll send you the structure on the server
can I send an image?
orliesaurus
@orliesaurus
yes if theres private data u cn send it as a private message
orliesaurus
@orliesaurus
problem half solved!
orliesaurus
@orliesaurus
good luck flo :)
Jay
@jaypatel512
One Question. What happens if I want to override some curl headers ? Is it doable ?
Nijiko Yonskai
@nijikokun
@ahmadnassri ^
Ahmad Nassri
@ahmadnassri
@jaypatel512 if you mean HTTP headers sent by cURL, then that's up to the C-level lib-curl internals, for example: Content-Length, Content-Type may automatically be set by curl, some can be overridden, some cannot not (since they happen AFTER you call to execute the request) its really up to the version of php/curl you're running ...
Ahmad Nassri
@ahmadnassri
v2.6.0 is out with ability to set custom cURL options
Joseph Ting
@josephting
@ahmadnassri Awesome! Just tested it out and it's working great. Thank you so much.
Ahmad Nassri
@ahmadnassri
:+1:
Ahmad Nassri
@ahmadnassri
yay travis notifications now working in gitter!
Oliver Kurowski
@a4mc
Hello Team.. i've got a problem.. : i get a warning "PHP Warning: array_map() expects parameter 1 to be a valid callback, function 'hex2bin' not found or invalid function name in /var/www/vhosts/a4mc-malta.org/httpdocs/dvse/export/Unirest/Request.php on line 445" but, PHP is 5.6 and locally, it worked..
any ideas ?
Oliver Kurowski
@a4mc
gut it.. cgi was 5.3 .. thanks
仇柯人
@qiukeren
well, PHP does not contain thread,
I uses the pthreads library in pecl.(which would be wildly used)
And is unirest php thread safe?
Ahmad Nassri
@ahmadnassri
@qiukeren it was never tested with pthreads ...
fermino
@fermino
It should be safe
You can have troubles if you share the environment
By passing PTHREADS_INHERIT_ALL constant to $Thread->Start();
It will allow you to use loaded classes/traits/interfaces without including again
But, if you don't, it all should be working properly :)
@qiukeren You can have troubles too if you try to share non-scalar types (like arrays or objects [Unirest\Response?])between main thread and Thread object. You can serialize the array/object in order to solve it ;)
Ahmad Nassri
@ahmadnassri
@fermino would be cool to read a blog post about it, happy to post it on the mashape blog and share with the community, if you're interested?
fermino
@fermino
English is not my first language, but well, i will try :D
Where can I send it?
Ahmad Nassri
@ahmadnassri
maybe try to write in a gist, i'll comment and give you feedback, then we can publish on the blog, send me the gist link in 1:1
Ionito
@Ionito
Hi Guys, I am trying to send img to an EmoVu api, this is my code http://screencast.com/t/Q8mfo8kWOFrK
But I'am getting errors http://screencast.com/t/6Bq2Wl1r It seems that the img could't be find, but it exist in my server