D
D
denislysenko2022-04-21 22:26:06
API
denislysenko, 2022-04-21 22:26:06

Is a request body always needed when using the POST method?

Is a request body always needed when using the POST method?
In general, is it possible to use the POST method and receive some data on the server side without a request body?
And how can you understand which request body you need to use, is it possible to compose a request body yourself without knowing what data should be transmitted to the server?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Karabanov, 2022-04-21
@denislysenko

In case there is no request body, there is a GET method

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question