I get an error when I send a patch request to my api (with loopback 4) , all the other request are working fine , i get error only on patch request .
error :
Access to XMLHttpRequest at 'url api' from origin 'url web app' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
any idea please !! this problem it was also on loopback 3 , so i think if migrate to loopback 4 i will solve the problem , but i get always the same error
The same error came to me when i was using cors extension After removing the extension it works for me!