What is a cors?
By default a browser does not let a script on one origin read responses from a different origin. An origin is the scheme, host and port together. CORS is how a server opts in: it adds an Access-Control-Allow-Origin header to its response naming the origins it allows, or * for any. If the header is missing, the browser hides the response from the script and logs a CORS error.
CORS is enforced by browsers and only for requests made by scripts, such as fetch. A plain HTML form post to another site is not blocked by it, and neither is a request from a server or from curl. So a form can work as a normal post and still fail when sent with fetch, if the receiving server does not send the headers.
A form backend must allow cross-origin requests, because every form that uses it is on another site. FormTango's form endpoints accept requests from any website. Its REST API is for servers and scripts and refuses calls from another website's browser page.
POST /submit HTTP/1.1
Host: api.example.com
Origin: https://www.example.org
HTTP/1.1 200 OK
Access-Control-Allow-Origin: https://www.example.org