cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor

Service Desk API

I am having problems connecting to the Service Desk API, I have testing my calls using PostMan and they all work fine. However when i test from my localhost i am getting issues related to same origin policy. Does anyone know of a workaround for this?
4 REPLIES 4
Active Contributor

Re: Service Desk API

Hi Andrew, we don't have cross-origin headers at the moment, although we may add them in the near future. What this means is that, as with many APIs, you cannot make the call directly from Javascript on a webpage because of browser security. The workaround would be to proxy the requests through the server hosting the website, using PHP, Rails, node.js, ASP, or whatever technology stack it is running on.
New Contributor

Re: Service Desk API

Thanks Jemmy. I will go ahead and work on proxying requests in ASP. When you say near future, is their a definitive timeline for this?
New Contributor

Re: Service Desk API

Is this still the case? I am in a env where i need to implement gotoassist through javascript because the backend (server) is precompiled 3rd party app with only access to modify template files. If there is any other way, people do it, let me know.
LogMeIn Contributor

Re: Service Desk API

Hi Bishan,
You'll likely have better results posting to the GoToAssist API forums here:  https://get.gotoassist.com/service-desk/developer-apis