文章詳情頁
實(shí)現(xiàn)bing搜索工具urlAPI提交
瀏覽:204日期:2022-06-02 16:31:44
問題描述
JSON request sample: POST /webmaster/api.svc/json/SubmitUrlbatch?apikey=sampleapikeyEDECC1EA4AE341CC8B6 HTTP/1.1Content-Type: application/json; charset=utf-8Host: ssl.bing.com{"siteUrl":"http://yoursite.com","urlList":["http://yoursite.com/url1","http://yoursite.com/url2","http://yoursite.com/url3"]}JSON response sample:HTTP/1.1 200 OKContent-Length: 10Content-Type: application/json; charset=utf-8{"d":null}
官網(wǎng)給的例子是這樣,怎么用php實(shí)現(xiàn)?
問題解答
回答1:這是請(qǐng)求體與響應(yīng)體的內(nèi)容, 如果想了解細(xì)節(jié) , 可查閱手冊(cè)中的php網(wǎng)絡(luò)編程, http相關(guān)部分
相關(guān)文章:
1. boot2docker無法啟動(dòng)2. 關(guān)docker hub上有些鏡像的tag被標(biāo)記““This image has vulnerabilities””3. docker-compose中volumes的問題4. nignx - docker內(nèi)nginx 80端口被占用5. docker安裝后出現(xiàn)Cannot connect to the Docker daemon.6. java - SSH框架中寫分頁時(shí)service層中不能注入分頁類7. golang - 用IDE看docker源碼時(shí)的小問題8. docker images顯示的鏡像過多,狗眼被亮瞎了,怎么辦?9. javascript - mock.js可以存儲(chǔ)數(shù)據(jù)嗎10. docker api 開發(fā)的端口怎么獲取?
排行榜

熱門標(biāo)簽
網(wǎng)公網(wǎng)安備