POST api/Home?name={name}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
name

string

Required

Body Parameters

MultipartMemoryStreamProvider
NameDescriptionTypeAdditional information
Contents

Collection of HttpContent

None.

Request Formats

application/json, text/json

Sample:
{
  "Contents": []
}

text/html

Sample:
{"Contents":[]}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MultipartMemoryStreamProvider'.

Response Information

Resource Description

string

Response Formats

application/json, text/json, text/html

Sample:
"sample string 1"