I’m writing a few troubleshooting tips when you are having a problem making REST calls. I intend to add more as I hear them.
1. POSTMAN is your friend
First and foremost, if you are having a problem making a REST call, please try to test, using a tool that you know should work to verify if your URL and data are correct. This will help narrow down if the issue is due to the data you are passing or your program processing the data.