Routing Service

Screenshot 2020-12-30 160249
Hi there,

We tried to call for the routing service through the api

https://developers.onemap.sg/privateapi/routingsvc/route

but however we do not get any response from the API response, is there anything wrong with our parameters or the API?

We did try it on the swagger
but the request was taking forever to load.

And then we received the following response:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>ERROR: The request could not be satisfied</TITLE>
</HEAD><BODY>
<H1>504 ERROR</H1>
<H2>The request could not be satisfied.</H2>
<HR noshade size="1px">
CloudFront attempted to establish a connection with the origin, but either the attempt failed or the origin closed the connection.
We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.
<BR clear="all">
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.
<BR clear="all">
<HR noshade size="1px">
<PRE>
Generated by cloudfront (CloudFront)
Request ID: -I4G4WtX_r_Tdrx9K1lbEB4-RS1kCkrVMyhCgDnZp20dKxdgTQsNbg==
</PRE>
<ADDRESS>
</ADDRESS>
</BODY></HTML>

Thanks!

Make sure you have valid headers for your OneMap API account in your Postman.