POST api/question?path={path}&allowedtype={allowedtype}&shuffle={shuffle}&withurl={withurl}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
path

string

Required

allowedtype

string

Required

shuffle

string

Required

withurl

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of listfromserver
NameDescriptionTypeAdditional information
url

string

None.

text

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "url": "sample string 1",
    "text": "sample string 2"
  },
  {
    "url": "sample string 1",
    "text": "sample string 2"
  }
]

text/html

Sample:
[{"url":"sample string 1","text":"sample string 2"},{"url":"sample string 1","text":"sample string 2"}]

application/xml, text/xml

Sample:
<ArrayOflistfromserver xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webapi.Controllers">
  <listfromserver>
    <text>sample string 2</text>
    <url>sample string 1</url>
  </listfromserver>
  <listfromserver>
    <text>sample string 2</text>
    <url>sample string 1</url>
  </listfromserver>
</ArrayOflistfromserver>