Linux Mastering Development

curl –data-binary $’ inside a shell script

I have tried everything to do a curl from within a shell script. This curl has a –data-binary $’ part which I just can not get my script to recreate. It will move the $ inside the single quote for some weird reason. Any ideas how to fix it? –data-binary ‘$ curl -s -H ‘Connection: […]