Post request - 'details'. How to use this param?

Hello, despite of reading documentation I don’t understand how to use the “details” param in the POST request to the GH.

This has to be the List.
For example I have the list
{“max_speed”, “road_access”}.

And how does it work ? Where I can define my max_speed or road_access? This list doesn’t change anything for me.

In a POST request you specify an array:

{
…,
“details”: [“max_speed”, “road_access”],

}

Then you’ll get the specified information for every road segment of your route (in the response).

Where I can define my max_speed or road_access?

If you want to change the speed and access values you’ll have to use a custom model either in the request or in the profile on the server side.

ok, now I understand - thank you

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.