I
I
Ivan Naumov2020-09-03 19:24:44
Python
Ivan Naumov, 2020-09-03 19:24:44

How to get information via request.get()?

You need to open a server to which a get-request (request.get) will be made from the computer. This computer must receive the information.

Is there any way to send a json file using python(django, flask)?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
reqww, 2020-09-04
@ivan_naum

Send a request to the server via post, specifying the keys and values ​​in the request body, and then self.request.POST.get(<key>, None)

V
Vadim Shatalov, 2020-09-03
@netpastor

Is it important to send data with a get request?
Post seems to be better suited for this.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question