init CRUD
This commit is contained in:
17
.posting/add-movie.posting.yaml
Normal file
17
.posting/add-movie.posting.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
name: add movie
|
||||
method: POST
|
||||
url: http://localhost:8000/movies
|
||||
body:
|
||||
content: |-
|
||||
{
|
||||
"title": "point break",
|
||||
"year": 1991,
|
||||
"genre": [
|
||||
"action"
|
||||
],
|
||||
"director_id": "string"
|
||||
}
|
||||
content_type: application/json
|
||||
headers:
|
||||
- name: content-type
|
||||
value: application/json
|
||||
Reference in New Issue
Block a user