文章详情页
实现bing搜索工具urlAPI提交
浏览:154日期: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. docker - 如何修改运行中容器的配置2. docker容器呢SSH为什么连不通呢?3. Android TextView 或 ListView 加载过渡效果4. 关docker hub上有些镜像的tag被标记““This image has vulnerabilities””5. docker start -a dockername 老是卡住,什么情况?6. docker - 各位电脑上有多少个容器啊?容器一多,自己都搞混了,咋办呢?7. python小白基础问题 关于while循环8. python - thrift 返回 TSocket read 0 bytes 求助!!!!9. python - django模板 include模板的数据问题10. Python列表或者字典里面的中文如何处理?
排行榜
