I am able to run the following from the terminal
curl -X POST -u "apikey:{apikey}" \
--header "Content-Type: application/json" \
--data-binary @{path_to_file}tone.json \
"{url}/v3/tone?version=2017-09-21&sentences=false" \
but not sure how to make it work within Laravel. Looking for some sample code. Thanks