IP Address Geolocation

ÜCRETLİ
Taraf ipaddresslabs | Güncelleyen a month ago | Location
Health Check

N/A

Tüm Tartışmalara Dön

JSON format?

Rapid account: Jacobwegner
jacobwegner
10 years ago

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 10 years ago

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 10 years ago

Tom,

Thanks for the quick response and cool API.

Rapid account: Ipaddresslabs
ipaddresslabs Commented 10 years ago

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

Aşağıya yorum ekleyerek tartışmaya katılın:

Yeni yorumlar göndermek için giriş yapın / kaydolun