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.
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: api.longurl. org/v2/ expand? url=http% 3A%2F%2Fis. gd%2Fw& title=1) api.longurl. org/v2/ expand? url=http% 3A%2F%2Fis. gd%2Fw& title=1& format= json)
- Visit the "title" argument example from the API (http://
- Add "format=json" to the URL (http://
- Note the "title" key present in the XML response that is absent from the JSON response