A
A
androidJunior2020-05-05 16:06:54
Flask
androidJunior, 2020-05-05 16:06:54

What does it mean to send data in the request body?

Need to send json data in request body, what does that mean?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
ClownSergo, 2020-05-05
@ClownSergo

The POST request has a message body. In your case, it is about making a POST request, for example, through the request library in python.
Example:

payload = {'some': 'data'}  
r = requests.post(url, json=payload)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question