skipOptimisation on api for php

I’m new to RouteXL and I was wondering how I can implement the skipOptimisation in the API for php. Thanks!

Just add skipOptimisation=true to the postfields.

E.g. when using cUrl:

curl_setopt($ch, CURLOPT_POSTFIELDS, 'locations=' . json_encode($locations) . '&skipOptimisation=true');

Thank you!