I’m trying to make a request to Epicor’s Rest Api using the NonConf getbyid service from an external application. I’ve got it setup and when I pass in the request using a curl command, I get results.
However, trying this out using the snip below, I get a generic 500 Internal Server Error as soon as I try to get the response and set it to a variable (not even doing anything with it). I don’t know whether my request is wrong and I need to change it or I’m not bypassing the certificate correctly. If I take out the myReq.GetResponse() I get no errors.This is my first attempt at trying this so any ideas would be greatly appreciated!