-4
I am studying python and I came across such a method, but even reading the documentation I still do not understand. From now on, thank you. The python documentation you were reading
-4
I am studying python and I came across such a method, but even reading the documentation I still do not understand. From now on, thank you. The python documentation you were reading
0
Through request.post you send information to an endpoint to be processed and return a replay.
Example:
import requests
API_ENDPOINT = "http://teste.com/api/api_post"
data = {'code':'python'}
r = requests.post(url = API_ENDPOINT, data = data)
In r I’ll have the answer to that request.
Browser other questions tagged python-3.x
You are not signed in. Login or sign up in order to post.
What function? The module/library is used to make http requests, such as Curl for example... https://medium.com/clebertech/howit works- uma-requisi%C3%A7%C3%A3o-http-cf76f66fe36e
– Miguel