I'm trying to pass the Hazel filename to a simple shell script with a curl request. I can't get the hazel filename correctly.
My script is the following:
- Code: Select all
curl POST "http://myurl.com?file={$1}"
Which is the correct way to pass the $1 on this kind of requests?
Thank you very much.