Porovnat verze

Klíč

  • Tento řádek byl přidán.
  • Tento řádek byl odstraněn.
  • Formátování bylo změněno.

To download a file.

To write the parameter value.

Request

  • Urn:              /api/donwloaddownload
  • Method:      POST
  • Request header:  Cookie: session  - actual session value.
  • Request content: json

...

Blok kódu
titleExample
{
      "name": "fw_file“
}

Response

  • Response code:
    • 200 – OK
    • 400 – Error (bad request)
    • 401 – Unauthorized
    • 500 – Server error
    • 512 - Internal application error
  • Response header: Set-Cookie: session  - Actual session value.
  • Response type: Data type is depending on the content of the downloaded file. (application/octet-stream, application/json,…)
  • Response content: Occurs only for response code = 200.

...