2 ms·
The endpoint you called doesn’t exist. 404. If you want to do something the author suggests, just abandon REST pathing and do a service call like api/v1/getemp
by donatj 4y ago
The endpoint you called doesn’t exist. 404.
If you want to do something the author suggests, just abandon REST pathing and do a service call like api/v1/getemployee?id=100
Then the endpoint api/v1/getemployee exists, there’s just no results for your query.
- dragonwriter 4y agoThe query is part of the URL used, along with the path, for specifying the primary resource. The part of a URL representing a secondary resource and whose representation is dependent on the result of a retrieval action on the primary resource is the fragment, not the query; see RFC 3986 (query) https://www.rfc-editor.org/rfc/rfc3986.html#section-3.4 https://www.rfc-editor.org/rfc/rfc3986.html#section-3.4 (fragment) https://www.rfc-editor.org/rfc/rfc3986.html#section-3.5 https://www.rfc-editor.org/rfc/rfc3986.html#section-3.5