Welcome Guest, Not a member yet? Register   Sign In
Error Put method from App in reactNative an RESTAPI CI4
#5

(06-14-2021, 10:51 PM)paliz Wrote: See this

https://codeigniter.com/user_guide/incom...ofing.html

form action="" method="post">
    <input type="hidden" name="_method" value="PUT" />
</form>

If you send json you should
{
"_method" :"PUT"
}


Thanks for your help, but I make my request from an app in react I don't have a form to do that ... that is, my call is directly from javascript with axios
Reply


Messages In This Thread
RE: Error Put method from App in reactNative an RESTAPI CI4 - by mailitos - 06-15-2021, 04:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB