By default, Cryptolens Web API returns JSON formatted objects. The the most basic result always contains a message and a result. In rare cases, only a message is returned, in which case a server error has occured.
All controllers support MessagePack format. It can be requested by setting the content type to application/x-msgpack.
In some methods, it is also possible to get the result as plain text. At the time of writing, only the Create Key method supports this type fully. You can request plain text by either:
- setting content type to text/plain
- setting query string paramter format to plaintext