c# - Post method not execute using RestSharp in webAPI asp.net -
var request = new restrequest("controller", method.post); request.addjsonbody(object); client.execute(request);
"controller"
controllername derive apicontroller
, client
localhost api address, object
data pass.
controller method:
public void post(object obj) { }
Comments
Post a Comment