You need to sign in to do that
Don't have an account?
![Wmohan Wmohan](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
Salesforce Rest Api Response Empty
My VBA code as below has been working fine for long time, but recently it always get response = "". But I still can get authentication token as before.
and response is empty, too.
Please do me a favour.
Dim objRequest As Object Dim fullUrl As String Dim blnAsync As Boolean Dim strResponse As String Set objRequest = CreateObject("MSXML2.XMLHTTP") fullUrl = Query_Data_Url_Production & query blnAsync = True With objRequest .Open "GET", fullUrl, blnAsync .SetRequestHeader "Authorization", "Bearer " & token .Send 'spin wheels whilst waiting for response While objRequest.readyState <> 4 DoEvents Wend strResponse = .ResponseText End WithI also tried with curl and the token I obtain from salesforce api.
Please do me a favour.
![Manoj Kumar 696 Manoj Kumar 696](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
Outstanding Information, How to set search box on all website (https://www.fastfoodnearme.org/" target="_blank), If any body knows about code then please provide me