Hi I have an excel macro with Rest API, the first time it works fine but the second time it sends "403 CSRF Token" error. Do you have any ideas how I can solve this? With objRequest .Open "POST", strUrl, False .setRequestHeader "Authorization", "Basic My_utorization_code==" .setRequestHeader "Content-Type", "application/json" .Send Body While objRequest.readyState <> 4 DoEvents Wend strResponse = .ResponseText End With MsgBox "Respuesta " & strResponse
I tried adding other "No cache, no store, maxage" statements, but the problem continues
Body
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)