Skip to content

Commit

Permalink
Update genres.http
Browse files Browse the repository at this point in the history
  • Loading branch information
danjoa committed Jul 15, 2024
1 parent 82c633c commit b8d389a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions bookshop/test/genres.http
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
# Genres
#

GET http://localhost:4004/test/Genres?
GET http://localhost:4004/odata/v4/test/Genres?
###

GET http://localhost:4004/test/Genres?
GET http://localhost:4004/odata/v4/test/Genres?
&$filter=parent_ID eq null&$select=name
&$expand=children($select=name)
###

POST http://localhost:4004/test/Genres?
POST http://localhost:4004/odata/v4/test/Genres?
Content-Type: application/json

{ "ID":100, "name":"Some Sample Genres...", "children":[
Expand All @@ -26,13 +26,13 @@ Content-Type: application/json
]}
###

GET http://localhost:4004/test/Genres(100)?
GET http://localhost:4004/odata/v4/test/Genres(100)?
# &$expand=children
# &$expand=children($expand=children($expand=children($expand=children)))
###

DELETE http://localhost:4004/test/Genres(103)
DELETE http://localhost:4004/odata/v4/test/Genres(103)
###

DELETE http://localhost:4004/test/Genres(100)
DELETE http://localhost:4004/odata/v4/test/Genres(100)
###

0 comments on commit b8d389a

Please sign in to comment.