I want to curl a url through REST call. The call requires a authorization header to be sent along with it. The authorization header contains a !(apostrophe) character in it. when I send it it throws the following error.
-bash: !FeTSs: event not found
curl -H "X-Med-Authorization:3b7N/FNDcEVX&v09n8O6jeUz9l!FeTSs;cSf3wz/mDsvzKGX" -X GET http://192.168.1.2:8383/dcCore/health/
I searched out there are answer to escape special characters in post data but not in headers.