#HATEOAS
1 messages · Page 1 of 1 (latest)
<@&987246399047479336> please have a look, thanks.
While you are waiting for getting help, here are some tips to improve your experience:
If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.
Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.
hey, its me from the other server
you can't escape
HATEOAS is not for CRUD operations
or any operations driven by a programattic client
In some post operation do i need to return the resource and the link to it or only in get requests?
only in get requests?
the only modern HATEOAS client is a web browser
the only place where HATEOAS practically applies is in HTML responses
so neither in get or post requests should you be returning links in json
never, unless you are rendering html to be shown by a web browser
what if i have to
for an assignment from a teacher who is uneducated?
for work?
for a friends project
friend's school project?
and if so then the answer is GET request
you aren't changing any underlying resources, just producing a response
thats a GET request
what do you mean "reason"?
nothing
yes nothing so need to implement it in a delete method
i was asking about updating a resource
i think also in updating a resource
should be implemented there
sure?
get, put, post?
should in a post request include a link
idk
where includes all the resources?