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

Codify HTTP interaction #29

Open
lhazlewood opened this issue Jun 2, 2017 · 1 comment
Open

Codify HTTP interaction #29

lhazlewood opened this issue Jun 2, 2017 · 1 comment

Comments

@lhazlewood
Copy link
Member

Codify protocol semantics regarding HTTP link traversal for both getting resources and sending data to resource locations.

We should address:

  • getting a resource
  • sending data to a resource location
  • how any http headers or request parameters would or could be utilized in either scenario.
@boriseetgerink
Copy link

boriseetgerink commented Nov 17, 2022

Ion has the method member to specify the HTTP method to use: 7.5. method. The method member can be used in a form (6. Forms). This allows you to specify which endpoint and HTTP method to use to submit a JSON document to: 6.5. Form Submission. To me this is enough for HATEOAS and handles the first two points of your question.

HTTP header support could be added to the spec, but what value would that add?

Edit: For example, JSON:API codifies HTTP semantics in the media type, but that makes the implementation too restrictive, in my opinion. I like that Ion doesn't subscribe HTTP semantics.

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

2 participants