To this WebGet REST Service URL,Is there any steps to authenticate in c#.net?
Asked
Active
Viewed 561 times
1
-
the link is to your localhost so of course no one can enter... – Mithir Nov 17 '11 at 06:36
-
yes,i need to know the steps to provide user authentication to this type of REST (GET method) URL – Revathi Nov 17 '11 at 06:42
1 Answers
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