I went through an error in my SvelteKit web app, that whenever I tried to POST request to the SvelteKit server, it returned a message of
Cross-site POST form submissions are forbidden SvelteKitand I came to know that the issue was because of ORIGIN not be defined on the server.
So, below is the solution to this issue…
Like ..