How enable PUT METHOD? |
Hi
I use restful server in codeigniter All method are working good on server But PUT method is close on server How do i can enable it? *When i use PUT method on server,it show error NOT FOUND but when change PUT to POST,it is working good
(04-05-2018, 05:43 AM)dmyers Wrote: You can use the Input Stream Thanks
(04-05-2018, 05:43 AM)dmyers Wrote: You can use the Input Stream I'm sorry but when i use PUT method on my server,it get error 404 Actually my request cannot receive in my controller and server show error 404 before controller I think PUT method is disable in server Can you help me?
What are you using to send the post request?
<form method="PUT"... or something else? You could also test it with a REST application. Something like https://mmattozzi.github.io/cocoa-rest-client/ on OS X DMyers
(04-05-2018, 03:58 PM)dmyers Wrote: What are you using to send the post request? I use POST method in java android with http client In localhost didn't problem but on server it is lock
I use below code in htaccess and now my code is working
<LIMIT PUT DELETE OPTIONS PATCH> order allow,deny allow from all </LIMIT>
omid_student, Glad To Hear!
|
Welcome Guest, Not a member yet? Register Sign In |