0

I am trying to authenticate my app with the server using token.

when I login to my system, server sends the token and I store it in current Session/ Application instance.

Later I need to pass that token on each request along with the other data.

Could anyone please provide me a way of sending the token to server? Do I need to do anything for security for eg. encryption etc. ?

Michael Shrestha
  • 2,547
  • 19
  • 30

1 Answers1

1

Pass your token in as Auth Header in your request header for example

request.put("Auth","token_here");