0

I am using an API to get some response.

When I check my HttpResponse. It is like this:

System.HttpResponse[Status=null, StatusCode=0]

In what case we get such a response?

closed as off-topic by Raul, Vijay Ganji, battery.cord, Pranay Jaiswal, Mohith Shrivastava Jul 26 at 3:32

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions on problems in code you've written must describe the specific problem and include valid code to reproduce it. For help writing short, self-contained syntactically-valid examples, see: SSCCE.org" – Raul, Vijay Ganji, battery.cord, Pranay Jaiswal, Mohith Shrivastava
If this question can be reworded to fit the rules in the help center, please edit the question.

0

The issue was with the wrong endPoint provided in the HttpRequest.

After providing the correct URL the issue is resolved

Not the answer you're looking for? Browse other questions tagged or ask your own question.