Skip to main content

Questions tagged [http-response]

1 vote
1 answer
509 views

I have an endpoint similar to GET ../produtcs/123 where 123 stands for an ID. The REST service response with either status 200 and a json object A {"deliveryData": {"status": 200, ...
surfmuggle's user avatar
4 votes
2 answers
6k views

I have an update API (PUT/PATCH) entity/{id} to update a certain entity in my DB. Let's say: entity { id: number, // Primary key, unique, not null content: text, parentId: number // Foreign key, ...
Leo von Barbarosa's user avatar
4 votes
3 answers
1k views

I need to implement the following scenarios at the server: User sent too many answers in a given amount of time, for example, it can't submit more than 3 posts within an hour. User sent answer with ...
Anatoly's user avatar
  • 274
-2 votes
2 answers
3k views

My service B is part of a chain of services and calls a downstream service C. A --> B --> C Service C is returning HTTP 500 errors for any error it faced, including bad requests or input ...
riorio's user avatar
  • 519
1 vote
3 answers
4k views

https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/422 The HyperText Transfer Protocol (HTTP) 422 Unprocessable Entity response status code indicates that the server understands the content ...
jcollum's user avatar
  • 229
-1 votes
1 answer
743 views

According to the MDN the http protocol has the 402 status code: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#client_error_responses And is used for methods that require payment. Also RFC ...
Dimitrios Desyllas's user avatar
-1 votes
2 answers
748 views

After years of (amateur, dirty) personal API development I finally decided to follow some best practices. My problem: the API may have problems, say, retrieving some data. It will gracefully handle ...
WoJ's user avatar
  • 1,661
5 votes
4 answers
7k views

Our POST API takes in an identifier (let's say deviceId) in order to compute the accuracy of the location we have stored for that device in a DB; the result of that compution is then saved in a ...
CoderGuy's user avatar
  • 169

15 30 50 per page
1
2 3 4 5