Cors problem with directual


I am having trouble integrating REST API. When making a POST request from composer I am getting the following error

Error: TypeError: Failed to fetch. Does the server allow CORS?status: undefined

Resource settings for Create record (POST)
Resource URL:
Relative path:

I had that same error. It went away when I turned off my vpn. Drove me nuts until then though.

The CORS question is the default error, so it might not be a CORS problem if your backend is correctly serving CORS. Is it specifically POST failing? Do you have a working GET or GET ALL request?