Rotten Tomatoes API Forums

Bugs

RSS Feed

Response type is javascript when it should be JSON

  1. Here is the api call I make, using a standard GET request (using firefox + firebug):

    http://api.rottentomatoes.com/api/public/v1.0/movies.json?apikey=[API_KEY]&q=Toy+Story+3&page_limit=1

    Response Headers:

    HTTP/1.1 200 OK Accept-Ranges: bytes Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Content-Language: en-US Content-Type: text/javascript;charset=ISO-8859-1 Date: Sat, 03 Mar 2012 15:11:12 GMT Expires: Sat, 6 May 1995 12:00:00 GMT Pragma: no-cache Server: Mashery Proxy Set-Cookie: ServerID=1174; Path=/ Vary: User-Agent,Accept-Encoding X-Mashery-Responder: proxylb-p-us-east-1b-03.mashery.com X-Original-Content-Encoding: gzip X-Original-Content-Length: 1002 Content-Length: 2280 Connection: keep-alive

    Request Headers:

    GET /api/public/v1.0/movies.json?apikey=63b7xdbbqxeuhwhv2b8efgbg&q=Toy+Story+3&page_limit=1 HTTP/1.1 Host: api.rottentomatoes.com User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:10.0.2) Gecko/20100101 Firefox/10.0.2 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip, deflate Connection: keep-alive Cookie: __qca=P0-1335795040-1330786247355; JSESSIONID=9917A4C2092DA44B75440029F9EACDA5.localhost; ServerID=1174 Cache-Control: max-age=0

    Request Headers:

    Message edited by Eric Gustavson 1 year ago

    Tags

  2. darkonesS1 year ago

    Same here. Is there a solution for that ?

[ Page 1 of 1 ]