Home > Mobile >  How can I understand the use of query parameter in REST api?
How can I understand the use of query parameter in REST api?

Time:10-24

As a learner, I am trying to call the rest api. For example, you can see and copy the url from api provider as they listed on that link page.

enter image description here

enter image description here

CodePudding user response:

There must be API documentation where you can read about these URI structures.

Though a real REST service sends you hyperlinks with URIs or URI templates which you follow, so you need to know what type of hyperlink watch for and the service gives you the URI structure. This is called HATEOAS constraint.

  • Related