Tutorial by Examples

/// <summary> /// Simple Get method /// </summary> /// <returns> Json formated data </returns> public string GetJsonData1() { IOperations _Obj = ClsOperations.GetOperations(); string url = "http://1.2.3.4:1234/Services/rest/Call...
/// <summary> /// Post Method with input parameter /// </summary> /// <returns> Json formated data </returns> public string GetJsonData2() { IOperations _Obj = ClsOperations.GetOperations(); string url = "http://1.2.3.4:...
/// <summary> /// Post Method with Input/ data to post in JSON format /// </summary> /// <returns> Json formated data </returns> public string GetJsonData3() { IOperations _Obj = ClsOperations.GetOperations(); string url = "htt...
/// <summary> /// Post Method with Input/ data to post in JSON format Or you can send dictionary as shown in previous methods /// </summary> /// <returns> Json formated data </returns> public void GetJsonData4() { IOperations _Obj = ClsOpera...
/// <summary> /// Post Method with Input/ data to post in JSON format Or you can send dictionary as shown in previous methods /// </summary> /// <returns> Json formated data </returns> public DataTable GetJsonData6() { ...
/* By Default if you send only url then automatically it will recognize as GET Method and if service having parameters with, Then automatically will convert to POST Method. But I observed some of the services having only URL but are POST Type. For the purpose you can forcefully make the method as yo...

Page 1 of 1