GET api/geoip/country/{ip}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ip | string |
Required |
Body Parameters
None.
Response Information
Resource Description
CountryInfoName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
IsoCode | string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
{"Name":"sample string 1","IsoCode":"sample string 2"}
application/xml, text/xml
Sample:
<GeoIp.CountryInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ia.Cl.Model"> <IsoCode>sample string 2</IsoCode> <Name>sample string 1</Name> </GeoIp.CountryInfo>