Consuming REST service from C# code
-
Hi Guys , Could you please let me know how to consume the following REST service from C# code. Your answers will be very helpful. Thanks in advance. Authenticate(POST) http://localhost:50448/UserRest/GetSampleMethod\_With\_OAuth json script -Request Body { "Password":"subin", "UserName":"Subin" } Get All(GET) http://localhost:50448/UserRest/getall?token={token} Update(PUT) http://localhost:50448/UserRest/update?token={token} json script -Request Body { "Bank":"String content", "DOB":"String content", "ID":"1", "Name":"String content" } Delete(DELETE) http://localhost:50448/UserRest/delete/1?token={token} Logout(POST) http://localhost:50448/UserRest/LogoutSession?token={token} With Regards
-
Hi Guys , Could you please let me know how to consume the following REST service from C# code. Your answers will be very helpful. Thanks in advance. Authenticate(POST) http://localhost:50448/UserRest/GetSampleMethod\_With\_OAuth json script -Request Body { "Password":"subin", "UserName":"Subin" } Get All(GET) http://localhost:50448/UserRest/getall?token={token} Update(PUT) http://localhost:50448/UserRest/update?token={token} json script -Request Body { "Bank":"String content", "DOB":"String content", "ID":"1", "Name":"String content" } Delete(DELETE) http://localhost:50448/UserRest/delete/1?token={token} Logout(POST) http://localhost:50448/UserRest/LogoutSession?token={token} With Regards