/api/v0/multibase/encode

Encode data into multibase string

Arguments

  • b [string]: multibase encoding. Default: base64url. Required: no.

Request Body

Argument file is of file type. This endpoint expects one or several files (depending on the command) in the body of the request as 'multipart/form-data'.

Response

On success, the call to this endpoint will return with 200 and the following body:

This endpoint returns a `text/plain` response body.

cURL Example

curl -X POST -F file=@myfile "http://127.0.0.1:5001/api/v0/multibase/encode?b=base64url"

Last updated