laravel-shift / curl-converter

Online tool to convert `curl` requests to Laravel `Http` requests
MIT License
88 stars 10 forks source link

The "--data-binary" option does not exist. #25

Open usmanarain350 opened 2 years ago

usmanarain350 commented 2 years ago

curl 'https://graphigo.prd.dlive.tv/' --data-binary '{"query":"query{userByDisplayName(displayname: \"Potato\") {username displayname avatar partnerStatus followers{totalCount}}}"}'

jasonmccreary commented 2 years ago

It does not. It'll get added.

In the meantime, there's really no reason to use it in this case. Just change it to --data or -d for short.

usmanarain350 commented 2 years ago

Thanks, @jasonmccreary It's working with the --data option