in the todo list assignment at the end of the webinar, i am unable to write the patch and delete request because i do not know how to access the data coming through these requests, fir example in get request, req. params. task, in post request req. body. task, what should it be in patch and delete request?
How to access data from user coming through the patch request?
req.body for patch requests and req.params for delete request
It is about how you are sending the data
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.