Answer the question
In order to leave comments, you need to log in
What is the difference between request.body and request.POST?
I send data from the frontend:
const res = await fetch('/pushes/save_information', {
method: 'POST',
body: JSON.stringify(data),
headers: {
'content-type': 'application/json'
},
credentials: "include"
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question