Select to view content in your preferred language

What's the max length of the URL for the Route Service API endpoint?

1620
1
02-22-2017 01:47 PM
ZacharyFranco
Deactivated User

The reason I ask is because it looks like it only takes request parameters making me believe it's a GET and not a POST which wouldn't be concerned with a request body. The standard length of a URL is around 2000 characters which doesn't sound like enough if you wanted to pass 10,000 coordinates to the asynchronous Route Service endpoint.

Route Service Documentation

Tags (1)
0 Kudos
1 Reply
ZacharyFranco
Deactivated User

I figured out how to do it using POST. You need to use x-www-form-urlencoded instead of just a raw json object.

0 Kudos