#45 ✓resolved
Travis Bell

Via Tender: Update V3 docs to reflect the expect accept header

Reported by Travis Bell | January 6th, 2012 @ 09:09 AM | in Jaws (closed)

Assigned to Tender discussion #135. As reported in Tender:

Starting off the list, the API will return a 404 if the request headers do not specify that you can accept the proper data type.

Python example...

import urllib2
req = urllib2.Request('http://api.themoviedb.org/3/movie/1?apikey=xxx')
req.add_header('Accept', 'application/json')
urllib2.urlopen(req)

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Tags

Pages