文章詳情頁
實現bing搜索工具urlAPI提交
瀏覽:125日期: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. MySQL客戶端吃掉了SQL注解?2. php自學從哪里開始?3. mysql - AttributeError: ’module’ object has no attribute ’MatchType’4. 數據庫 - MySQL 單表500W+數據,查詢超時,如何優化呢?5. 求大神幫我看看是哪里寫錯了 感謝細心解答6. python - Django分頁和查詢參數的問題7. javascript - 圖片能在網站顯示,但控制臺仍舊報錯403 (Forbidden)8. javascript - 百度echarts series數據更新問題9. phpstady在win10上運行10. python小白的基礎問題 關于while循環的嵌套
排行榜
