· -bash: !AQkAQEI8vxvVLmD_GZ7pJhALBOcpKTukyXtfZvAGKxXR2K57wBJ3DwO0WRNRC0CJL1Ih.bbyhZn5pNi.6ThHec_PuPHmFL9v: event not found this is the error I found on my terminal and I don't know what I miss or which is the problem.
That is what I obtain, my result and I don't understand the problem... maybe WSL Ubuntu 20.04 and Ubuntu 18.04 have problems understanding "!" character? In cmd or Powershell doesn't work from the beginning and in a trailhead yt he uses Ubuntu too.
Someone could help me please? I wanna try completely using curl command, thanks
Hi Marco,
I also encoded with the following code.
However, I am not using it now because I got a header error when encoding.
I'm using it on Debian 9.
my_access_token=`echo $access_token | sed -e 's/!/\\\!/g'`
Handling Exclamation Marks in Access Tokens
When you run cURL examples, you can get an error on macOS and Linux systems due to the presence of the exclamation mark (!) special character in OAuth access tokens. To avoid getting this error, either escape the exclamation mark or use single quotes. To escape the exclamation mark in the access token, insert a backslash before it (\!) when the access token is enclosed within double quotes. For example, the access token string in this cURL command has the exclamation mark (!) escaped.
https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_curl.htm
I finally worked too.
The requested resource does not exist useing REST API
https://trailhead.salesforce.com/ja/trailblazer-community/feed/0D54S00000ECtplSAD