I am using Steel Bank Common Lisp (SBCL), Emacs, and Slime.
After executing a function, I have:
CL-USER> (my-function my-data)
"{\"key-1\": \"value-1\"}"
I would like to convert the string "{\"key-1\": \"value-1\"}" to a REST request notation on curl, so a string as: key-1&value-1
Examplifying the application, this is going to be the data on curl:
curl --request POST --data "userId=key-1&value-1" https://jsonplaceholder.typicode.com/posts