Login
Register
All class groups
Latest entries
Top 10 charts
Blog
Forums
Shop
Help
Login
Register
Incorrect GET request
Search
All class groups
Latest entries
Top 10 charts
Blog
Forums
Shop
Help
Recommend
this page to a friend!
PHP OAuth Library
>
PHP OAuth Library package blog
>
How to Implement PHP ...
>
All threads
>
Incorrect GET request
>
(Un) Subscribe thread alerts
Subject:
Incorrect GET request
Summary:
bug fix
Messages:
2
Author:
VS7 Co
Date:
2013-09-18 14:00:11
Update:
2013-10-13 08:18:52
1. Incorrect GET request
Reply
Report abuse
VS7 Co - 2013-09-18 14:00:12
GET request MUST not contain any body.
Even if we have empty $parameters we have header "Content-Length" and "[]" as body (in case of json). LiteSpeed throws 400 error.
Replace lines 1286-1290 with:
if(!IsSet($options['RequestBody']) && !empty($parameters))
{
$arguments['Body'] = json_encode($parameters);
}
break;
2. Re: Incorrect GET request
Reply
Report abuse
Manuel Lemos - 2013-10-13 08:18:52 -
In reply to
message 1
from VS7 Co
Can you provide an example of use of CallAPI that you run into that situation?
About us
Advertise on this site
Site map
Newsletter
Statistics
Site tips
Privacy policy
Contact
Copyright (c)
Icontem
1999-2025
For more information send a message to
info at phpclasses dot org
.
image/svg+xml
image/svg+xml
Contact us using Messenger