Dear Experts,
I am just getting into REST. I am testing a simple request. The following is the code I copied from the internet. When I run the EpicorRestAPI.EpicorRest.TestApi(out err), I am getting the error below. Am I supposed to set a path somewhere? Please help. Thanks.
Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path ‘’
My Code:
EpicorRestAPI.EpicorRest.AppPoolHost = “OurServer”;
EpicorRestAPI.EpicorRest.AppPoolInstance = “AppPoolInstance”;
EpicorRestAPI.EpicorRest.IgnoreCertErrors = true;
EpicorRestAPI.EpicorRest.UserName = “manager”;
EpicorRestAPI.EpicorRest.UserName = “manager”;
string err;
EpicorRestAPI.EpicorRest.TestApi(out err);