2014-01-15 02:36:55 |
Adam Bosco |
description |
Specifying the "format" argument as "json" results in many of my other arguments getting ignored. Most notably, I no longer am returned the "title" or "meta-description" keys despite properly setting their respective arguments to 1 in the GET data in order to request them. Omitting the format argument results in an XML-formatted response properly endowed with the keys that are requested.
Steps to reproduce:
- Add "format=json" and "title=1" to the GET data of a request.
- Note the absence of the "title" key in the JSON response.
Example:
- Visit the "title" argument example from the API (http://api.longurl.org/v2/expand?url=http%3A%2F%2Fis.gd%2Fw&title=1)
- Add "format=json" to the URL (http://api.longurl.org/v2/expand?url=http%3A%2F%2Fis.gd%2Fw&title=1&format=json)
- Note the "title" key present in the XML response that is absent from the JSON response |
(Please delete bug report - reported issue seems to have resolved itself. Potentially a CoffeeMissingException) |
|