Problems using Restful method PUT

30 views
Skip to first unread message

Ariel Antunez

unread,
Jun 19, 2020, 7:32:04 PM6/19/20
to web2py-users
Hi everyone, I am working in a application using vue.js on vue-cli and axios. I need to use the method PUT, but I get the error, METHOD NOT ALLOWED, I write a headers in the controllers. POST and GET work perfect. How can I resolve that Problem? Thanks

Dave S

unread,
Jun 19, 2020, 10:19:54 PM6/19/20
to web2py-users


On Friday, June 19, 2020 at 4:32:04 PM UTC-7, Ariel Antunez wrote:
Hi everyone, I am working in a application using vue.js on vue-cli and axios. I need to use the method PUT, but I get the error, METHOD NOT ALLOWED, I write a headers in the controllers. POST and GET work perfect. How can I resolve that Problem? Thanks

If that's an error from web2py, please post the important information from the ticket, including the stack trace.  If that's an error from the browser, you may need to use the browser developer tools to find the request or response that comes from, and post those details.

/dps
 

António Ramos

unread,
Jun 21, 2020, 6:37:25 PM6/21/20
to web...@googlegroups.com
Can you detail a litle more your vuejs and web2py side code?


Em sáb., 20 de jun. de 2020 às 00:32, Ariel Antunez <ariel.antu...@gmail.com> escreveu:
Hi everyone, I am working in a application using vue.js on vue-cli and axios. I need to use the method PUT, but I get the error, METHOD NOT ALLOWED, I write a headers in the controllers. POST and GET work perfect. How can I resolve that Problem? Thanks

--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/a2f3c667-cf63-494d-9862-984389fc0b8fo%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages