API Method Variable

Hi Adam!

Quick one: Is there a system variable I can use in an API endpoint to find out what web method was used? I can see that an endpoint can be defined using more than one method (e.g. GET as well as POST) but is there a way from within the endpoint script that I can “know” how it was called?

Cheers,
Matt

Product: PowerShell Universal
Version: 3.1.6