Update genres.http
This commit is contained in:
@@ -3,15 +3,15 @@
|
|||||||
# Genres
|
# 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
|
&$filter=parent_ID eq null&$select=name
|
||||||
&$expand=children($select=name)
|
&$expand=children($select=name)
|
||||||
###
|
###
|
||||||
|
|
||||||
POST http://localhost:4004/test/Genres?
|
POST http://localhost:4004/odata/v4/test/Genres?
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
|
|
||||||
{ "ID":100, "name":"Some Sample Genres...", "children":[
|
{ "ID":100, "name":"Some Sample Genres...", "children":[
|
||||||
@@ -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($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)
|
||||||
###
|
###
|
||||||
|
|||||||
Reference in New Issue
Block a user