Posts by Gustavo Serafim • 11 points
3 posts
-
0
votes1
answer229
viewsA: How to get only one Json value using request.get_data() Flask Python
You can access the value through the key directly: The get_json method already converts JSON to a dictionary. json = request.get_json() valor2 = json['test2'] print(valor2)…
-
0
votes0
answers28
viewsQ: Problem while extracting zip file - Zipfile
Remaking the question in an attempt to make it clearer. A webhook calls my API by sending a POST request. On the request body contains the url of a ZIP file. Using the requests library, I perform a…
-
1
votes2
answers179
viewsQ: Encoding problem while extracting zip file - edited
A webhook calls my API by sending a POST request. On the request body contains the url of a ZIP file. Using the requests library, I perform a GET at the file url. I need to extract this few files…