Lets say I have 3 endpoints configured on default origin type in Azure front door. Below are the sample endpoints
Here is my final azure front door endpoint with equal priority and equal weight for above configured endpoints.
So whenever front door url is hit, if it picks first endpoint, I need to add a request header 'api-key' with some value 12345. Similarly when other endpoint hits, a different request header has to be passed.
I explored rulesets but it works on front door endpoint and not the origin endpoints. Looking for answers. Let me know if there are other ways to achieve this.