Configuring Authorization Header for API Access: Only Authorized Users Should Access the Data

WSL,Firecrawl, Docker) I’m working on a project where I scrape data from an API with Firecrawl inside a Docker container running on WSL (Windows). I need to restrict access to the API based on the Authorization header: Only users with a valid Authorization header should be allowed. Missing header = Unauthorized. Invalid header = Invalid Value. This needs to be tested via Postman, but Firecrawl should only scrape when the Authorization header is valid. What I’ve Done: Configured the API to expect an Authorization header. Tested with Postman, but the API still returns data without the header. What I Need: Help configuring the backend inside Docker to validate the Authorization header (reject invalid/missing). Ensure Firecrawl scrapes only with a valid Authorization header. How do I ensure requests with missing or invalid headers are blocked, and Firecrawl only scrapes when valid credentials are provided? Any advice on setting this up with Firecrawl, Docker, and Postman is appreciated! Thanks!
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?