Skip to main content
0 votes
0 answers
21 views

Relation Name: item Description: The target IRI points to a resource that is a member of the collection represented by the context IRI. Relation Name: collection ...
Jakub Bochenski's user avatar
1 vote
2 answers
374 views

Suppose I'm creating a REST API and my POST method creates a new Order. And I'd like to use Hypermedia in my API, supplying a list of available actions to the client, and path to a POST method should ...
AlexB's user avatar
  • 4,684
0 votes
1 answer
143 views

As we can se on json response, there's a property named 'files' where has no properties and no options, I don't know how to proceed in this case because it is another class nested in ...
Daniel Schiavo's user avatar
1 vote
1 answer
1k views

I'm building a frontend using HTMX and I've encountered a problem with dynamically setting URLs for hx-post requests while retaining query parameters. Here's the scenario: I have a base URL such as ...
Nikola-Milovic's user avatar
0 votes
1 answer
170 views

My client don’t want to use HATEOAS library for some reason. Or there any other maven dependency alternative to HATEOAS? I searched a lot but didn’t find any. Can someone help me with this please?
Vasu Youth's user avatar
1 vote
1 answer
577 views

A question for this already exists, but is more tech focused and doesnt have answers: Representing a request body on HATEOAS link I like HATEOAS. I love using it in my frontend to check if I can ...
S. ten Brinke's user avatar
0 votes
1 answer
495 views

I think the answer to this question is great because it explains a lot about HAL: How to handle nested resources with JSON HAL? However it does not fully answer the question (at least for me). ...
Oliver's user avatar
  • 1
1 vote
1 answer
51 views

I did some research about how REST APIs work and how to link resources via hypermedia. Most of the examples about linking resources is related to the response of the server. But I wonder how to ...
Franz Deschler's user avatar
0 votes
0 answers
102 views

I'm not sure what the most RESTful + HATEOS way is to achieve my goal. I want to use a PATCH operation to update the fields of two objects, creating a relationship between them, I'm not convinced ...
Alex's user avatar
  • 197
3 votes
1 answer
374 views

Currently I am working on a REST API and noticed, that for real REST it is essential to provide the possible HTTP operations of the resource within the HTTP response (e.g. in JSON-LD format). After ...
Chris's user avatar
  • 2,431
2 votes
1 answer
67 views

Consider that I'm using HTML for my REST API media-type, it could be JSON it doesn't matter. HTML has a well understood <form> element with an action and a method. But if I'm posting to a ...
Luke Puplett's user avatar
  • 45.9k
1 vote
2 answers
79 views

In my years specifying and designing REST APIs, I'm increasingly finding that its very similar to designing a website where the user's journey and the actions and links are story-boarded and critical ...
Luke Puplett's user avatar
  • 45.9k
2 votes
1 answer
323 views

From Fielding's article (https://roy.gbiv.com/untangled/2008/rest-apis-must-be-hypertext-driven): A REST API should never have “typed” resources that are significant to the client. Specification ...
David Szalai's user avatar
  • 2,609
8 votes
1 answer
3k views

Imagine a REST endpoint (/employees) serving pages of employees in JSON HAL format. An employee lives in a country, which resides in a continent. For both countries and continents there are also ...
Marcel Overdijk's user avatar
9 votes
2 answers
4k views

I am using json server and axios result from header link: "<http://localhost:3001/posts?_page=1>; rel="first", <http://localhost:3001/posts?_page=2>; rel="next", <http://localhost:...
Þaw's user avatar
  • 2,047

15 30 50 per page
1
2 3 4 5
9