IP Info

免费
通过 NeutrinoAPI.com | 已更新 vor 23 Tagen | Location
人气

9.3 / 10

延迟

54ms

服务等级

100%

Health Check

N/A

返回所有讨论

403

Rapid account: Garrylachman
garrylachman
vor 8 Jahren

php return 403 - unirest
the basic example

Rapid account: Garrylachman
garrylachman Commented vor 8 Jahren

the solution was add http_build_query to data array in unirest

Rapid account: Garrylachman
garrylachman Commented vor 8 Jahren

<code>
$response = Unirest\Request::post(“https://community-neutrino-ip-info.p.mashape.com/ip-info”,
array(
“X-Mashape-Key” => “XXX”,
“Content-Type” => “application/x-www-form-urlencoded”,
“Accept” => “application/json”
),
array(
“ip” => “5.29.224.80”,
“reverse-lookup” => true
)
);
</code>

Just copy & past from Mashape Snippet

Rapid account: Neutrinoapi
neutrinoapi Commented vor 8 Jahren

Hey Garry,
403 usually means your API key or User ID is missing or incorrect…
You could try this PHP snippet: https://www.neutrinoapi.com/api/api-examples/php/

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

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