POST Api/Forward/PostHttpRequest

POST请求

Request Information

URI Parameters

None.

Body Parameters

请求内容

SpeedPower.Utility.Models.Service.Invokes.ForwardPostRequest
NameDescriptionTypeAdditional information
Content

字符型内容

string

Required

Uri

请求URI

string

Required

Timeout

超时时间

time interval

None.

Request Formats

application/json, text/json

Sample:
{
  "Content": "sample string 1",
  "Uri": "sample string 2",
  "Timeout": "00:00:00.1234567"
}

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Content"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Uri"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Timeout.Ticks"

1234567
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Timeout.Days"

0
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Timeout.Hours"

0
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Timeout.Milliseconds"

123
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Timeout.Minutes"

0
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Timeout.Seconds"

0
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Timeout.TotalDays"

1.4288969907407408E-06
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Timeout.TotalHours"

3.4293527777777779E-05
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Timeout.TotalMilliseconds"

123.45670000000001
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Timeout.TotalMinutes"

0.0020576116666666667
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Timeout.TotalSeconds"

0.12345669999999999
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

POST请求

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.