skip to Main Content

Can I do without aggressive escaping when executing my curls with JSON payload?

I'm not comfortable with this heavy escaping in my curls curl -X POST -H "Content-Type:application/json" -d "{"username":"john","password":"12345"}" http://localhost:8100/signup I read this answer. Single quotes are not accepted curl -X POST -H "Content-Type:application/json" -d '{"username":"john","password":"12345"}' http://localhost:8100/signup org.springframework.core.codec.DecodingException: JSON decoding error: Unexpected…

VIEW QUESTION
Back To Top
Search