Vai al contenuto

Echo

Echo test function

Operazioni

Echo test function

Richiesta

This function simply allows user to make a message be echoed from the SignBox for test purposes.

URL: http://{SMARTSEC}/api/echo METHOD: POST ENCODING: multipart/form-data

Corpomultipart/form-dataobbligatorio
messagestringobbligatorio

Message to be echoed

curl -i -X POST \
  http://example.com/api/echo \
  -H 'Content-Type: multipart/form-data' \
  -F message=string

Risposte

Output Parameters

Corpoapplication/json
messagestringobbligatorio

String with message echoed or error detail

exceptionstring

Exception related to the error

Risposta
{ "message": "Message received" }