I'm trying to send a message to AWS SQS from bash script using curl. I took this article as a base. As a result I'm building the following request: https://sqs.eu-west-1.amazonaws.com/[MY_QUEUE_NAME]?Action=SendMessage&MessageBody=[MY_MESSAGE]
And here starts the most complicated. Whenever I'm using a plain text as MY_MESSAGE everything works perfect and message is delivered to SQS, but I want to send a JSON: {"mahine": "SOME_MACHINE", "user": "SOME_USER"}
I haven't found a way to use curly braces in GET request as HTTP parameter. How can I make {} symbols be recognized as simple text?