文章詳情頁
實現bing搜索工具urlAPI提交
瀏覽:213日期: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}
官網給的例子是這樣,怎么用php實現?
問題解答
回答1:這是請求體與響應體的內容, 如果想了解細節 , 可查閱手冊中的php網絡編程, http相關部分
相關文章:
1. golang - 用IDE看docker源碼時的小問題2. docker images顯示的鏡像過多,狗眼被亮瞎了,怎么辦?3. 我何時應該在Java中使用JFrame.add(component)和JFrame.getContentPane()。add(component)4. phpstudy8.1沒集成mysql-front5. 利用IPMI遠程安裝centos報錯!6. 運行python程序時出現“應用程序發生異常”的內存錯誤?7. html - css氣泡,實現“倒三角(不知道算不算三角了)”可透明的。8. html5和Flash對抗是什么情況?9. javascript - 請指條明路,angular的$event,在select中卻是undefined?10. 前端 - @media query 使用出現的問題?
排行榜

網公網安備