Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 30 16:52
    picks44 opened #141
  • Oct 25 07:48
    javase commented #27
  • Oct 25 07:47
    javase commented #27
  • Oct 25 07:47
    javase commented #27
  • Oct 18 15:46
  • Oct 18 15:46
  • Oct 18 15:42
    iamtartan opened #140
  • Apr 09 16:31
    FernandoUFS commented #110
  • Apr 09 16:30
    FernandoUFS commented #110
  • Apr 04 17:37
    jeveleth edited as member
  • Apr 04 17:37
    jeveleth added as member
  • Mar 17 12:34
    mike2016consult opened #139
  • Mar 06 20:33
    LafQuentin commented #110
  • Mar 06 20:30
    LafQuentin commented #110
  • Mar 06 19:49
    LafQuentin commented #110
  • Feb 12 11:34
    arcs- commented #110
  • Jan 09 22:59
    maguec removed as member
  • Jan 07 02:28
    crhg opened #138
  • Dec 10 2018 16:22
    ahmadalfy commented #134
  • Dec 08 2018 11:58
    sharik709 closed #134
Ahmad Nassri
@ahmadnassri
ah
i see it
tests running: Mashape/unirest-php#86
Ahmad Nassri
@ahmadnassri
frankdee
@frankdee
@ahmadnassri great! thanks a lot for the quickfix :smiley:
frankdee
@frankdee
added a pull request #88 for some further fixes it took to get it to work
Ahmad Nassri
@ahmadnassri
@frankdee thanks! made some comments on that PR
frankdee
@frankdee
updated the code for the PR @ahmadnassri
Ahmad Nassri
@ahmadnassri
cool, i'll review and merge
thx
frankdee
@frankdee
nice, thx - will there be a new tag?
Ahmad Nassri
@ahmadnassri
yep, already released
2.6.4
frankdee
@frankdee
:thumbsup:
ANASS EZ-ZOUAINE
@ansezz
ghi
nikhilbytes
@nikhilbytes
How to implement SPENGO authentication in PHP
Ahmad Nassri
@ahmadnassri
never heard of it ...
n01ukn0w
@n01ukn0w
How do you parse a unirest response to pull data from it?
$response = Unirest\Request::get("$url", array( "X-Mashape-Key" => "XXXX" ) ); How do I parse this to pull data out of $response?
hari
@harasuthanhari_twitter
hi i use can get me a solution
this my request
$query = array('attrib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k5N/hi0nuxXDm79liptLl1+jq4NaKn0Uqaprfg1JyUlCa6ylfWS1uu82bom1YEMFIuxzcUZsmFZFTNX2bytzq1MRioRjFxqJxlCMOknUd7RopaRWvYlwsBZTKM30afRb14wbd4cnCX4fA3CGAXs/UtU8J3BkyuRHHp4wX6U8tptpX+I3aSjfC1V+435amXhTsVczhvUqkecJL4MqT5JzjwzRsnwrjSutL9p3D0cN/YKd+yVTy32/qcryykuit3aHXti6O5gqK5qUvOTsadPzkb/n/CvUxUdPFf3/AEzOCAI3HMEIAgAYNCAAAY7aLC9Lha9O126cmvzR6y+KMgJPmJq1Q4va016PPecRukly08ja6UrxXgvkjE7RZa6VapTt/lzcf4eMX/K0/eX8FO9OL7kc2vR1MrTaa9luKD0ZHGRNGRAsjFMG4hkqZNYDQWyzYjH4iBDSWpLj57qIsNrqIh7MvhpaEVbiS4eOgzEREXvoVGJZVIpYOrd2ZlIgnQqsbGI/dCkCTGGxDKhSxb6svB/ItVJFHGy6slzVvPQEVZDGYBWja3Z9DtGWYfo6NKn7FOEfeopP43OX5Jl3SVqVP2pxv+WPWl8Is6y2bNLHtmXXT+sRCAI1nPEIAQAiAwjWAgNgCxrADRtv8DarGtbSpDdf54cPe42/lNVy59Vrk2vqdYzTAQxFOVKpez1TVt6MlwlG/ar/ABZzvNshng5reqRqRq7zjJRcWtyyakm3raUeD5mPLjabkujXDInFJ9oqxZNBlZMlgzMzZjkW0wTYxSBNkGzQjEYqW9V
my query parameter
in header i use mashap key application type as json
{
"error": "MISSING_ARGUMENTS: url or img",
"error_code": 1004
}
the above is my response
Erol
@FrEaKmAn
is there a way to upload a file if I get file as stream?
Devan Koshal
@dvnkshl
Having a weird issue were every request is being made twice
IgorMCHC
@IgorMCHC
blob
Help-me
?
Joseph Ting
@josephting
@IgorMCHC Make sure the server running the request is able to resolve DNS. Run nslookup www.google.com.br in terminal.
blestab
@blestab
Is there a way for me to log all requests/responses from unirest. I am just starting to learn how to use this framework and would like to see the raw requests/responses if possible
I am running my php test script via the PHP CLI on a linux box so no chrome/firefox developer tools available
Nick
@nick-2017
Hello, if request returns image/jpeg is the image in body or raw_body?
Joseph Ting
@josephting
@nick-2017 You probably should use raw_body but they are the same.
lagsurfer
@lagsurfer
Hello, i'm so stupid or i can understand how to use the request in an API!!
I want to use unitag api
i download the unirest php
I Try to copy the php code: // These code snippets use an open-source library. http://unirest.io/php
$response = Unirest\Request::get("https://unitag-qr-code-generation.p.mashape.com/api?........
do you have an example in php to use this???
Javi
@chuntin
Hi, I need to do this: curl -v -i -k -H "Content-Type: text/html" http://localhost:8069/api/res.partner -X GET -H "access_token: XXXXXXXXXXXXXXXXX" -d '{"filters": "[(\"name\", \"like\", \"company\"), (\"id\", \"<=\", 50)]"}' . So, how could i do this with unirestPhp ?
hellboy81
@hellboy81
Hi. Is this client dead or still alive?
Colin Hutchinson
@hutchic
@hellboy81 I think in the near future we'll be looking for someone to adopt the project(s)
Akbar As Syidiqi
@akbarsyidiq_gitlab
i want to ask abour Unirest, how long this library can be used ? because i want use this library for long term use, in commercial apps
pal-crystal
@pal-crystal
hello, i need to send files in multipart-form data to a webservice
but all files must have as key 'file'
'file' : file1.txt, 'file' : file2.txt etc...
how can i do that with Unirest please ? it seems the unique key 'file' is a problem ?