Replies: 1 comment 1 reply
-
Doesn't the Origin and Host headers help? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello 😄
I'm using Nitro to create a web service for my company. It's a fairly simple service that takes in form submissions and handles them. However, I want to only allow a set amount of domains that could use my API. How can I go about configuring this properly?
I have read through Nitro and H3 documentation to find a solution and I nothing is working from what I can tell.
For example,
I only want a certain website that has a form only be allowed to submit a POST request, and reject all others.
Beta Was this translation helpful? Give feedback.
All reactions