Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

How to receive a json object via URL?

I am developing a service in python which has to connect to the database. The problem is the following I have to receive a JSON OBJECT that I send in a URL.
I have the following from the client side I run this in the browser:

http: // localhost: 8080 / Client / ListClient? Json = {"name": "John", "age": 32}

Which the json is sending this way now on the server we decompose by it's components and the query component is the one that has all the string, but it would not be a json json = {% 22name% 22:% 22John% 22,% 22age% 22: 32} that's what I manage to break down.

My question is the following one I am sending the object json in the correct way and receiving it in the correct way? And that's how I convert that query string to a json object

Comments