the5thace Posted July 7, 2013 Share Posted July 7, 2013 Sample json query : https://api.datamarket.azure.com/Bing/Search/Web?$format=json&Query=%27Xbox%27 . If you click on the link you are prompted for a username and password. both fields just require you to insert your Bing API. How can I send the password with the query attached? I'm using cURL to send the query. I have tried using the normal method outlined by bing to receive the search results but it doesn't seem to work for me. Link to comment https://forums.phpfreaks.com/topic/279946-how-to-insert-a-password-when-sending-a-query-bing-api/ Share on other sites More sharing options...
avshelestov Posted July 8, 2013 Share Posted July 8, 2013 Do you try CURLOPT_HTTPAUTH and CURLOPT_USERPWD? Link to comment https://forums.phpfreaks.com/topic/279946-how-to-insert-a-password-when-sending-a-query-bing-api/#findComment-1439864 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.