recipes-with-angular-js
recipes-with-angular-js copied to clipboard
Post as entity name
In the following article:
http://fdietz.github.io/recipes-with-angular-js/consuming-external-services/consuming-restful-apis.html
The usage of 'Post' as the entity creates ambiguity since it's also the name of a popular HTTP verb. Examples:
(example: HTTP GET /api/posts/1): Post.delete({ id: id }); (example: HTTP POST /api/posts):
To a beginner learning about this topic for the first time, this can really make confusing an otherwise well written article.
Thanks!