Skip to content

Instantly share code, notes, and snippets.

@travisbell
Last active November 5, 2017 15:21
Show Gist options
  • Select an option

  • Save travisbell/cf60cbb0fea45de96382e94427f8c7b6 to your computer and use it in GitHub Desktop.

Select an option

Save travisbell/cf60cbb0fea45de96382e94427f8c7b6 to your computer and use it in GitHub Desktop.
tbell$ curl -v "https://api.themoviedb.org/3/movie/298250?api_key=###"
* Trying 50.16.249.143...
* Connected to api.themoviedb.org (50.16.249.143) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
* Server certificate: *.themoviedb.org
* Server certificate: RapidSSL SHA256 CA
* Server certificate: GeoTrust Global CA
> GET /3/movie/298250?api_key=### HTTP/1.1
> Host: api.themoviedb.org
> User-Agent: curl/7.43.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Access-Control-Allow-Origin: *
< Access-Control-Expose-Headers: ETag, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, Retry-After
< Cache-Control: public, max-age=28800
< Content-Type: application/json;charset=utf-8
< Date: Sun, 05 Nov 2017 15:20:25 GMT
< ETag: "3f90a654aae720d7e01c1e14d4bf170d"
< Server: openresty
< Vary: Accept-Encoding
< X-Memc: HIT
< X-Memc-Age: 18704
< X-Memc-Expires: 10096
< X-Memc-Key: cdfadb032ff59f7d2b0ed99b427b52fb
< Content-Length: 1174
< Connection: keep-alive
<
* Connection #0 to host api.themoviedb.org left intact
{
"adult": false,
"backdrop_path": "/ytKpFaLMpFWnuSXStz1GHrtTt6R.jpg",
"belongs_to_collection": {
"id": 656,
"name": "Saw Collection",
"poster_path": "/xmC2A7qPEfiOkQC58fZh8srWQ5v.jpg",
"backdrop_path": "/oLfS1lOmN2KIU2IQ200SDEPVEZe.jpg"
},
"budget": 0,
"genres": [
{
"id": 27,
"name": "Horror"
},
{
"id": 53,
"name": "Thriller"
}
],
"homepage": "http://jigsawsaves.com/",
"id": 298250,
"imdb_id": "tt3348730",
"original_language": "en",
"original_title": "Jigsaw",
"overview": "Dead bodies begin to turn up all over the city, each meeting their demise in a variety of grisly ways. All investigations begin to point the finger at deceased killer John Kramer.",
"popularity": 447.449405,
"poster_path": "/zUbUtxiTdEgWnkXY945gtYYqBZ1.jpg",
"production_companies": [
{
"name": "Twisted Pictures",
"id": 2061
},
{
"name": "A Bigger Boat",
"id": 5855
},
{
"name": "Serendipity Productions",
"id": 6680
}
],
"production_countries": [
{
"iso_3166_1": "CA",
"name": "Canada"
},
{
"iso_3166_1": "US",
"name": "United States of America"
}
],
"release_date": "2017-10-20",
"revenue": 0,
"runtime": 92,
"spoken_languages": [
{
"iso_639_1": "en",
"name": "English"
}
],
"status": "Released",
"tagline": "A New Game Begins",
"title": "Jigsaw",
"video": false,
"vote_average": 5.9,
"vote_count": 127
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment