How to send POST data in PHP Client (V1.0)?

when we trying to access the jasper report by POST method ($this->prepAndSend($url, array(200), 'POST', $post, true, 'application/x-www-form-urlencoded');)  the response is an error

 

 Fatal error: Uncaught exception 'RESTRequestException' with message 'Unexpected HTTP code returned: 405 Body of response: Apache Tomcat/7.0.42 - Error report HTTP Status 405 - Method Not Allowedtype Status reportmessage Method Not Alloweddescription The specified HTTP method is not allowed for the requested resource.Apache Tomcat/7.0.42' in C:\wamp\www\project\application\libraries\Jasperclient.php on line 133

mithal.tirani_1's picture
Joined: Nov 16 2015 - 11:25pm
Last seen: 7 years 6 months ago

0 Answers:

No answers yet
Feedback