search

Home  >  Q&A  >  body text

Implement bing search tool urlAPI submission

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?

蜻竺蜻竺1354 days ago1015

reply all(1)I'll reply

  • 猪老湿

    猪老湿2021-04-30 10:56:45

    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

    reply
    0
  • Cancelreply