Forum Discussion
Thanks @tlikarish
yes , I need to pass the authorization token which will be used to call another service.
I read document. I would require to send it in JSON body in a POST request.
Api I am trying to build is GET . @tlikarish How to achieve it for GET request?
If you want to have your API to use the HTTP Get method, then you’d have to pass the token through the path or the query string. The one downside of this approach is that often paths and query strings can end up in log files, which would expose your token.
If you want to go that route still, then you’d look at the section Passing Pipeline Arguments for an example with the query string or Semantic URL for an example of how to do it with the path.