Endpoint
POST https://requiems.xyz/v1/technology/base64/decode
Base64 Decode
Decode a Base64-encoded string back to plain text. Returns 422 for invalid or unpadded input.
Parameters
| Name | Type | Required | Location | Description |
|---|---|---|---|---|
value |
string | yes | body | The Base64-encoded string to decode |
variant |
string | no | body | Encoding variant: standard (default) or url (URL-safe base64url) |
Request Example
{
"value": "SGVsbG8sIHdvcmxkIQ==",
"variant": "standard"
}
Response Example
{
"data": {
"result": "Hello, world!"
},
"metadata": {
"timestamp": "2026-01-01T00:00:00Z"
}
}
Response Fields
| Field | Type | Description |
|---|---|---|
result |
string | The decoded plain-text output |
Errors
undefined400 — value field is missing or emptyundefined422 — The value is not valid Base64 and cannot be decodedundefined401 — Missing or invalid API key