文档
测试

api/v1/pay_notify_url

POST

http request

GET api/v1/pay_notify_url POST api/v1/pay_notify_url PUT api/v1/pay_notify_url PATCH api/v1/pay_notify_url DELETE api/v1/pay_notify_url OPTIONS api/v1/pay_notify_url

php

$client = new \GuzzleHttp\Client(); $response = $client->get( 'http://sns.shenruxiang.com/api/v1/pay_notify_url', [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));

js

const url = new URL( "http://sns.shenruxiang.com/api/v1/pay_notify_url" ); let headers = { "Content-Type": "application/json", "Accept": "application/json", }; fetch(url, { method: "GET", headers: headers, }) .then(response => response.json()) .then(json => console.log(json));

bash

curl -X GET \ -G "http://sns.shenruxiang.com/api/v1/pay_notify_url" \ -H "Content-Type: application/json" \ -H "Accept: application/json"