Timeline for How to use drupal_http_request for send data?
Current License: CC BY-SA 3.0
21 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 29, 2015 at 7:58 | history | tweeted | twitter.com/StackDrupal/status/670874346160840704 | ||
Nov 28, 2015 at 18:09 | history | edited | avpaderno♦ |
edited tags
|
|
Mar 7, 2012 at 14:33 | vote | accept | Dvex | ||
Mar 7, 2012 at 14:33 | |||||
Feb 28, 2012 at 17:18 | comment | added | Dvex | let us continue this discussion in chat | |
Feb 28, 2012 at 17:12 | comment | added | Dvex | @MariusIlie But, when i see the webservice... don't see any data. Nothing. I don't know if the redirect is the problem.. | |
Feb 28, 2012 at 17:11 | history | edited | Dvex | CC BY-SA 3.0 |
added 1849 characters in body
|
Feb 28, 2012 at 17:07 | comment | added | Dvex | @MariusIlie only i have a doubt. When i using cURL and i will go to the page where i see the data that i sent. When execute, i have a redirect (http_code=302). So, i get the page where redirect and access by CURLAUTH_ANY.. Ok, i update my post with the cURL code that i have | |
Feb 28, 2012 at 16:53 | comment | added | Marius Ilie | I think the problem is with the server, not the way you send data | |
Feb 28, 2012 at 16:52 | comment | added | Dvex | @MariusIlie honestly I don't know what I will be doing wrong. Because I've tried many times and always I have the same errors with cURL :( | |
Feb 28, 2012 at 16:46 | comment | added | Marius Ilie | well, there you have it. the problem is with that link and the way it handles you post data | |
Feb 28, 2012 at 16:43 | comment | added | Dvex | @MariusIlie With cURL have the same error... I thought this problem was for some reason of cURL, so I decided to see something of this function of drupal... But, when i change the email or pass for other, i always have a http_code = 200 | |
Feb 28, 2012 at 16:34 | comment | added | Marius Ilie |
the response seems fine. the second call worked ok with curl ? because I never had any problems when switching from curl to drupal_http_request before...
|
|
Feb 28, 2012 at 16:31 | history | edited | Dvex | CC BY-SA 3.0 |
deleted 1 characters in body
|
Feb 28, 2012 at 16:26 | comment | added | Dvex | @Marius Ilie $result_1 have a: "data = Evaluating..." "Protocol = HTTP/1.1" "status_message = OK" "code = 200" | |
Feb 28, 2012 at 16:23 | comment | added | Marius Ilie | you missed an r $user = http_build_query($useR, '', '&'); | |
Feb 28, 2012 at 16:21 | comment | added | Marius Ilie | how does the $result_1 response look like? | |
Feb 28, 2012 at 16:15 | history | edited | Dvex | CC BY-SA 3.0 |
added 1150 characters in body
|
Feb 28, 2012 at 16:14 | answer | added | RepublicWirelessDev | timeline score: 4 | |
Feb 28, 2012 at 15:49 | answer | added | Marius Ilie | timeline score: 0 | |
Feb 28, 2012 at 15:37 | history | edited | Laxman13 | CC BY-SA 3.0 |
added 27 characters in body
|
Feb 28, 2012 at 14:23 | history | asked | Dvex | CC BY-SA 3.0 |