-
Notifications
You must be signed in to change notification settings - Fork 4
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
How to handle creation links ... #36
Comments
The simple answer for this is that HAL doesn't care. How links The RTC for UriTemplates is at: http://tools.ietf.org/html/rfc6570 and for a form, you would need to use a Level 3 compliant UriTemplate http://example.com/{?firstName,lastName,emailAddress} which would be expanded to: http://example.com?firstName=Mark&lastName=Derricutt&[email protected] Mark On 20/06/12 3:03 PM, James Ladd wrote:
|
Thanks for the quick reply. I'm reading through that RFC and I can see how the template can be used. I'm guessing it is 'assumed' that the template along with HTTP Verbs are
On Wed, Jun 20, 2012 at 1:18 PM, Mark Derricutt <
|
Oh - Im guessing it would be expected that should a template parameter be '_links': { On Wed, Jun 20, 2012 at 1:20 PM, James Ladd [email protected] wrote:
|
How the templates are resolved I suspect would be really up to you, and In the few examples I've looked at using UriTemplates for I've been i.e. { In what ever documentation for the "cancel" rel, I'd state that the Mark On 20/06/12 3:24 PM, James Ladd wrote:
|
Gotcha. On Wed, Jun 20, 2012 at 1:34 PM, Mark Derricutt <
|
This isn't so much an issue as a question, how does HAL expect links that require more than
a simple {} template to be handled? ie: a form.
The text was updated successfully, but these errors were encountered: