How to call Netlify functions on password protected site?

Enabled the password authentication on my site, but now I can’t call my functions API. What headers do I need to sent when making a request to my function? Thanks.

Hey @sparkle,

We’ve responded to this in the helpdesk. Let us know where you’d like to continue the discussion.