I am developing a webapi for my custom module. I referred the below article and able to create the basic webapi that will accept arguments from the URL and do some processing.
This is the API i constructed for my module
I want to now implement the authorization. In other words the webapi should work only along with the Authorization bearer token.
How can I do that?