I’m currently working on a first Python project and I’m doing some HTTP requests using requests
.
I’m able to call a URL and get a response via requests.post()
and then use result_var.json()
to convert that into JSON…however the output still has escaped slashes in it when I print to screen.
What’s the proper method to escape THOSE in the output? My goal is to dump this info into a file for consumption later, so the slashes really shouldn’t be there.
An example is the following: "FlightRating":"14.3\/4.9\/-0.5\/3"
Thanks in advance!