NewPost() public static method

Construct a POST request.
public static NewPost ( ) : Request
return Request
Esempio n. 1
0
 public void PostAsync(Byte[] payload, Int32 format, Int32 accept,
                       Action <Response> done = null, Action <FailReason> fail = null)
 {
     SendAsync(Accept((Request)Request.NewPost().SetPayload(payload, format), accept), done, fail);
 }
Esempio n. 2
0
 public Response Post(Byte[] payload, Int32 format, Int32 accept)
 {
     return(Send(Accept((Request)Request.NewPost().SetPayload(payload, format), accept)));
 }
Esempio n. 3
0
 public void PostAsync(String payload, Int32 format,
                       Action <Response> done = null, Action <FailReason> fail = null)
 {
     SendAsync((Request)Request.NewPost().SetPayload(payload, format), done, fail);
 }
Esempio n. 4
0
 public Response Post(String payload, Int32 format = MediaType.TextPlain)
 {
     return(Send((Request)Request.NewPost().SetPayload(payload, format)));
 }