1

To this WebGet REST Service URL,Is there any steps to authenticate in c#.net?

Revathi
  • 307
  • 6
  • 18

1 Answers1

0

There a lots of way to pass user authentication within a REST GET - as you have no body (as it's a GET) you can pass something in the Url, eg: /myWebService/GetAllUser?token=some-encrypted-token-or-guid

or you can pass something in the headers; use cookies etc. A lot depends on the client.

The query-string token might be the easiest option?

Neil Thompson
  • 6,356
  • 2
  • 30
  • 53