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

How to prevent nesting of json objects in API

I have a spring boot application with frontend and backend connected using apache HttpClient. There are many bi-directional associations between the entities. For example: @NamedEntityGraphs( { @NamedEntityGraph(name = "graph.ApplicationUserProcesses", attributeNodes ={ @NamedAttributeNode(value = "processes", subgraph = "processes"), @NamedAttributeNode(value = "roles")…

VIEW QUESTION

Get specific json value

I am creating a quick VBA script to decipher a json response. This is a work laptop so can't install any other extensions. Via API I get a JSON responds. So far all works. But how do I only list…

VIEW QUESTION
Back To Top
Search