D
D
DanAsOne2020-06-12 11:30:26
Python
DanAsOne, 2020-06-12 11:30:26

How to make a request request through python?

The documentation says the following, how to make such a request through python?
russvet.ru/upload/content/Technical_documentation_...
documentation
Please write one such request from the Python documentation as an example

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
ediboba, 2020-06-12
@ediboba

some_data = {
   # put you data here
}

response = request.post('https://somelink', data=some_data)
print(response.code)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question