Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Days 009-012 #8

Closed
vladmonea opened this issue May 17, 2019 · 3 comments
Closed

Days 009-012 #8

vladmonea opened this issue May 17, 2019 · 3 comments

Comments

@vladmonea
Copy link

Hi,
Postman PUT doesn't seem to be working. I am changing values for an item and pressing send yet the return is an unchanged json while the console outputs:

127.0.0.1 - - [17/May/2019 21:40:41] "PUT /6 HTTP/1.1" 302 -
127.0.0.1 - - [17/May/2019 21:40:41] "GET /6/ HTTP/1.1" 200 -

I am running the server in Pycharm (community) from the terminal with python app.py

Thanks,
Vlad

@mikeckennedy
Copy link
Member

Hi Vlad,

I have been hearing that some times you need a trailing backslash on PUT and DELETE there. Try /6/ and see if that works. @bbelderbos thoughts?

@bbelderbos
Copy link
Collaborator

bbelderbos commented May 18, 2019

Thanks @mikeckennedy, that has happened to me too in the past. I would need to debug a bit more though to confirm this ...

@vladmonea
Copy link
Author

Thank you, @mikeckennedy , the trailing backslash did the trick. Might some back end stuff in apistar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants