复制var data = null; var xhr = new XMLHttpRequest(); xhr.withCredentials = true; xhr.addEventListener("readystatechange", function () { if (this.readyState === this.DONE) { console.log(this.responseText); } }); xhr.open("GET", "http://apis.haoservice.com/whois?domain=haoservice.com&key=your_AppKey"); xhr.send(data);
复制var client = new RestClient("http://apis.haoservice.com/whois?domain=haoservice.com&key=your_AppKey"); var request = new RestRequest(Method.GET); IRestResponse response = client.Execute(request);
复制open Cohttp_lwt_unix open Cohttp open Lwt let uri = Uri.of_string "http://apis.haoservice.com/whois?domain=haoservice.com&key=your_AppKey" in Client.call `GET uri >>= fun (res, body_stream) -> (* Do stuff with the result *)
复制CURL *hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET"); curl_easy_setopt(hnd, CURLOPT_URL, "http://apis.haoservice.com/whois?domain=haoservice.com&key=your_AppKey"); CURLcode ret = curl_easy_perform(hnd);
其他相关内容:
内容
详细
接口测试:
API测试工具
技术支持:
QQ交流群1:
183458317(已满)
QQ交流群2:
336047907(已满)
QQ交流群3:
119205518
联系电话:
010-58436659
商务合作QQ: