Implement bing search tool urlAPI submission
蜻竺
蜻竺 2021-04-14 17:10:55
0
1
992
The example given on the official website of
JSON request sample: 

POST /webmaster/api.svc/json/SubmitUrlbatch?apikey=sampleapikeyEDECC1EA4AE341CC8B6 HTTP/1.1
Content-Type: application/json; charset=utf-8
Host: 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 OK
Content-Length: 10
Content-Type: application/json; charset=utf-8

{
"d":null
}

is like this. How to use PHP to implement it?

蜻竺
蜻竺

reply all(1)
Peter_Zhu

This is the content of the request body and response body. If you want to know the details, you can refer to the PHP network programming and http related parts in the manual

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template