When I try hitting get call endpoint through postm...
# general-english
e
When I try hitting get call endpoint through postman its working, when I try the same through my salesforce server, its throwing 520 error, did anyone faced this issue? Http http = new Http(); HttpRequest request = new HttpRequest(); request.setEndpoint('https://api.vapi.ai/call/3d1d7d18-5b4e-48b3-a2b8-88a6ecc6b03d'); request.setMethod('GET'); request.setHeader('Authorization', 'Bearer ************************'); HttpResponse response = http.send(request); system.debug(response.getBody());
6 Views