-
Notifications
You must be signed in to change notification settings - Fork 23
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
simple_app - localhost:5000 returns 404 {"detail":"Not Found"} #25
Comments
Hi, |
Hello @peteror , |
this framework sets the /webhook endpoint for receiving Saleor callbacks, which are POST messages. If you just use it from a browser, it will send GET, which is not defined, thus you get this message. |
Yea, I did POST request using postman. I got different response.. Now, I have to look for the header |
The x-saleor-event is one of the events you see here: https://docs.saleor.io/docs/3.0/developer/api-reference/enums/webhook-sample-event-type-enum/. |
one more thing: if you run Saleor-platform (or Saleor in any other way) locally in Docker, use this as the webhook target (assuming this Python app also runs on your machine): |
Hi Saleor Team,
I managed to add
appUrl
in the manifest sopython3 -m simple_app
would work. The problem next is the server returns 404. Anything I could have missed? Thanks!The text was updated successfully, but these errors were encountered: