-
Notifications
You must be signed in to change notification settings - Fork 2
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
Proposal for POST requests on /block-endpoint #1
Comments
Hmm. Well self-description is part of the protocol. Right now that would be with the OPTIONS verb. I'm torn though because if it where a different URL, I could imagine referencing it in an error to a bad request, but it seems like it should be clear to use the OPTIONS verb. |
I'm not tied to a particular implementation. Just proposing a gentle nudge of some sort to developers who aren't used to OPTIONS yet. |
As an aside, how does one make an OPTIONS request with curl(1)? |
True. Command line tools will either tell you how to use help or display it On Wed, Nov 28, 2012 at 2:28 PM, Joël Franusic [email protected]:
Jeff Lindsay |
-X/--request curl -X OPTIONS http://example.com On Wed, Nov 28, 2012 at 2:29 PM, Joël Franusic [email protected]:
Jeff Lindsay |
The spec defines expected behavior:
However, for people who are manually exploring the API (with curl, for example) I propose that we define how webpipe endpoints would respond to unexpected input:
The text was updated successfully, but these errors were encountered: