How to check if request is made from Excel/PowerBI

Viewed 16

I've made an API but wanted to know if there's a way to check if the incoming request is coming from an app like Excel/PowerBI.

I've researched a bit but all I'm finding is ways to identify the browser which uses the User-Agent.

Can I use the User-Agent header for Excel/PowerBI? I'm unable to run the API locally (that's another issue which I don't want to go into today) so I can't debug it to see the incoming request and I'm unsure how I can investigate the request Headers from Excel/PowerBI.

0 Answers
Related