I am trying to make POST request to Strapi via Postman, with the following data: {
“data”: {
“type”: “test request”,
“start”: “01-01-2022”,
“end”: “10-01-2022”,
“description”: “test description”
}
} I am making the request to the following (custom) endpoint: http://localhost:1337/api/requests
but every time I try to make a request, Postman continue loading the request forever without any response.
I think that the problem is in the fact that I should customize the controllers inside src > api > [folder-name] > controllers > request.js file. Please let me know if I am wrong.
Can you give me some example about how should I customize request.js file in order to be able to make POST request?