Forum Discussion
Anonymous
3 years agoNot applicable
Web.Contents return application/octet-stream instead of application/json with 403
Hi, I have written an M function that sends a post request to a API. I want to implement some error handling when sending an incorrect parameter. When I do that the API should return a 403 statu...
Anonymous
3 years agoNot applicable
Hi Anonymous - you could consider using the Web.Headers - PowerQuery M | Microsoft Learn function to grab the header only. Here a recent Blog about the feature. New Web.Headers M function | Microsoft Power Query