Movie
GET {{baseUrl}}/api/movies/?id=964&stock=true
This endpoint makes an HTTP GET request to retrieve movie information based on the provided ID and stock availability.
Request
- Method: GET
- URL: {{baseUrl}}/api/movies/?id=964&stock=true
Response
- Status: 200
- Content-Type: application/json
Example Response 1
{
"actors": "Gregory Peck",
"category": "Drama",
"director": "Robert Mulligan",
"genres": "Drama",
"id": 964,
"imdb": "https://0ac6024c-0cec-4a3a-bdc1-6e03056d9ad3.mock.pstmn.io/api/movies/id?=964",
"language": "en-US",
"minutes": 129,
"rating": 98,
"stock": 9,
"title": "To Kill a Mockingbird",
"year": 1962
}
Example Response 2
{}
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
id | number | ||
stock | boolean |
RESPONSES
status: OK
[{}]