-
Notifications
You must be signed in to change notification settings - Fork 18
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
Is there any possibility to define headers? #67
Comments
there are not unique headers defined by this spec. also, HAL-FORMS is not designed to require authorization, etc. however, section 6.2 refers to as for other HTTP headers not directly related to HAL-FORMS, i don't think it is a good idea to bake them in the HAL-FORMS spec itself. These are covered well elsewhere: HTTP spec (https://tools.ietf.org/html/rfc7231), IANA Message Headers (https://www.iana.org/assignments/message-headers/message-headers.xhtml), etc. does that make sense? are there other things you had in mind? |
Not sure if this helps, but link hints has:
link-hints can be integrated with HAL links. (we did and it works well). I don't think it integrates as well with HAL Forms unfortunately. This is mostly because HAL forms' target is a URL and not a HAL link. |
I would love to see some progress on at least the Accept header part as this is something we use heavily in our REST APIs. |
Is it possible to define required headers which need to be send along with the request using HAL-Forms?
Examples would be
The text was updated successfully, but these errors were encountered: