How do I ensure that only API requests coming from specific, approved domains or origins are allowed?
0
-
To ensure that only requests from specific, approved domains or origins are allowed, you need to configure CORS settings for your API.
In Quickwork's API Management tool:
- Go to the API endpoint configuration.
- Enter the approved domain names (e.g., https://example.com) in the CORS field. Separate multiple domains with commas.
- To allow access from any domain, use an asterisk (*) or leave the CORS field blank, though this is less secure.
0
Please sign in to leave a comment.
Comments
1 comment