Hi, I have a 405 error too when I try to execute an POST request initially did in the admin panel, in an other application.
The fetch request :
fetch("http://localhost:1337/collection-types/application::delivery.delivery", {
"headers": {
"accept": "application/json, text/plain, */*",
"accept-language": "fr-FR,fr;q=0.9,en;q=0.8",
"authorization": "Bearer blablabalabalfjidsfj",
"content-type": "application/json;charset=UTF-8",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-site"
},
"referrer": "http://localhost:3333/",
"referrerPolicy": "strict-origin-when-cross-origin",
"body": "{\"sellerLabel\":\"TEST\",\"price\":\"90\",\"description\":\"TEST\",\"expedition\":\"TEST\",\"carrier\":\"TEST\"}",
"method": "POST",
"mode": "cors",
"credentials": "include"
});```
I do not undesrtand what is happening