IP Address Geolocation

שולם
על ידי ipaddresslabs | מְעוּדכָּן un mese fa | Location
Health Check

N/A

חזרה לכל הדיונים

JSON format?

Rapid account: Jacobwegner
jacobwegner
10 anni fa

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 anni fa

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 anni fa

Tom,

Thanks for the quick response and cool API.

Rapid account: Ipaddresslabs
ipaddresslabs Commented 10 anni fa

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

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות