I want to make my RESTful API very predictable. What is the best practice for deciding when to make a segmentation of data ...
-
May 14, 2022
- 0 Comments
Imagine you have two entities, Player and Team, where players can be on multiple teams. In my data model, I have a table ...
-
May 14, 2022
- 0 Comments
This is a more generic reformulation of this question (with the elimination of the Rails specific parts) I am not sure how to ...
-
May 12, 2022
- 0 Comments
I have a JSON request which I’m posting to a HTTP URL. Should this be treated as 400 where requestedResource field exists but ...
-
May 11, 2022
- 0 Comments
As far as I can tell each individual resource should have only one canonical path. So in the following example what would good ...
-
May 10, 2022
- 0 Comments
I read that sending cookies with cURL works, but not for me. I have a REST endpoint like this: class LoginResource(restful.Resource): def get(self): ...
-
May 9, 2022
- 0 Comments
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be ...
-
May 5, 2022
- 0 Comments
I’m trying to figure out what the correct status code to return on different scenarios with a “REST-like” API that I’m working on. ...
-
May 5, 2022
- 0 Comments
I’m looking for a reasonable way to represent searches as a RESTful URLs. The setup: I have two models, Cars and Garages, where ...
-
May 5, 2022
- 0 Comments