Forum Discussion
Piotr_J
3 years agoRegular Visitor
PowerQuery - Unable to authenticate using HTTP Basic Authentication, POST method & Anonymous access
Dear All, I have created a Power Query to send a request via POST method using HTTP Basic Authentication and Anonymous access, however I'm still getting an error "We couldn't authenticate with the c...
v-jingzhang
3 years agoCommunity Support
Hi Piotr_J
The syntax of the query looks correct. One thing is that you didn't pass the parameter #"Content-Type"="application/json" to the header in Web.Contents(). But I think this is perhaps not the main reason. Please first use other tools like Postman to test the request. Once the request returns the response correctly, we can then compare its settings to this query to check whether this query has missed some settings.
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.