I've been trying to find a way to convert POST data from a request
when i print the data this is what i get b'message=sdfa&arent=gfsdgd&btn3=pressed'
I've tried different ways to get it ive used replace but i realized that wasnt gonna work i saw that flask does something like this but id have to rewrite all my code using it
i am using http.server and i was wondering if i could have the output formatted like json so were i could use something like value["message"] and it would give me what is inside the message
this is my first time using stack overflow so im sorry if i dont make sense or look stupid
question was answered by a comment
There is a library that formats a link into practically a json file
the library is called urllib
big thanks to metatoaster
how to converate post data into variables that i can use in python