IP Address Geolocation

付费
通过 ipaddresslabs | 已更新 לפני חודש | Location
Health Check

N/A

返回所有讨论

JSON format?

Rapid account: Jacobwegner
jacobwegner
לפני 10 שנים

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 שנים

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 שנים

Tom,

Thanks for the quick response and cool API.

Rapid account: Ipaddresslabs
ipaddresslabs Commented לפני 10 שנים

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

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论