files

store a file in the file store

stores a file (text or base64-encoded binary) under the supplied name in the in-memory file store

put/mockserver/files/store

Request

  • Base URL: http://localhost:1080
  • URL: http://localhost:1080/mockserver/files/store
  • Auth: none declared

Request body

namestring required

name to store the file under

contentstring required

file content, either plain text or base64-encoded when base64 is true

base64boolean

when true, content is treated as base64-encoded binary data

Response

file stored

namestring
sizeinteger

Changes

No recorded changes to this operation across all 1 revision of this API.