withHeaders([ 'X-Remote-Api-Token' => $api_token, 'Content-Type' => 'application/json' ])->withOptions([ 'version' => 2, ])->baseUrl($url); }); } }