IP Address Geolocation

СПЛАЧЕНО
(Ким) ipaddresslabs | Оновлено vor einem Monat | Location
Health Check

N/A

Повернутися до всіх обговорень

JSON format?

Rapid account: Jacobwegner
jacobwegner
vor 10 Jahren

Is it possible to have the JSON format (supported at http://www.ipaddresslabs.com/) enabled via Mashape?

<?xml version="1.0" encoding="UTF-8"?>
<response>
    <query_status>
        <query_status_code>UNABLE_TO_SPECIFY_RESPONSE_FORMAT</query_status_code>
        <query_status_description>You can only specify the response format (XML, JSON, etc) starting with version 1.7 of our API. Older versions deliver the response only in XML format.</query_status_description>
    </query_status>
    <ip_address>41.190.3.253</ip_address>
</response>
Rapid account: Ipaddresslabs
ipaddresslabs Commented vor 10 Jahren

Hello Mr. Wegner,
We are surprised we never updated our Mashape account to enable the JSON format. To be honest with you, we just forgot to implement it here. We will check this issue now, I will get back to you asap.

Tom Black

Rapid account: Jacobwegner
jacobwegner Commented vor 10 Jahren

Tom,

Thanks for the quick response and cool API.

Rapid account: Ipaddresslabs
ipaddresslabs Commented vor 10 Jahren

Hello again Mr. Wegner,
Its ready now. You can use the “format” parameter now. It is not mandatory, the possible values are “XML” and “JSON”, and the default format (if the parameter is not present) is “XML”. We still have to document it, but it is already working. Not only that parameter, but also the parameters “callback” and “compact” are being accepted now.
In other words, our latest version 1.7 has been enabled here in Mashape.

Thanks a lot for making us notice this issue!

Tom Black

Приєднуйтесь до обговорення — додайте повідомлення нижче:

Вхід / Реєстрація, щоб публікувати нові повідомлення