Je suis en train de convertir cette commande en boucle php:Convertir cURL PHP cURL
curl -X POST "https://onfleet.com/api/v2/tasks" -u "456798b4f32516d4c75cf80bacc6f32a:" -d '{"destination":{"address":{"unparsed":"2829 Vallejo St, SF, CA, USA"},"notes":"Small green door by garage door has pin pad, enter *4821*"},"recipients":[{"name":"Blas Silkovich","phone":"+16505554481","notes":"Knows Neiman, VIP status."}],"completeAfter":1455151071727,"notes":"Order 332: 24oz Stumptown Finca El Puente, 10 x Aji de Gallina Empanadas, 13-inch Lelenitas Tres Leches","autoAssign":{"mode":"distance"}}'
peut-elle aider quelqu'un s'il vous plaît?
Vous devez utiliser [ 'curl'] (http://php.net/manual/en/ book.curl.php) ou si vous ne souhaitez pas utiliser une nouvelle extension, vous pouvez utiliser ['file_get_contents'] (http://php.net/manual/fr/function.file-get-contents.php) – Kamehameha
Continuez à essayer ... – Trix