function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
WmohanWmohan 

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. 
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 With
I also tried with curl and the token I obtain from salesforce api. 
User-added imageand response is empty, too.
Please do me a favour.
 
Manoj Kumar 696Manoj Kumar 696
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