Developer Utilities Post Encode

Encode a plain-text string to Base64. Supports standard (RFC 4648) and URL-safe (base64url) variants.

gabrielmoreira Updated 17 repo stars

File contents

Endpoint

POST https://requiems.xyz/v1/technology/base64/encode

Base64 Encode

Encode a plain-text string to Base64. Supports standard (RFC 4648) and URL-safe (base64url) variants.

Parameters

Name Type Required Location Description
value string yes body The string to encode
variant string no body Encoding variant: standard (default) or url (URL-safe base64url, RFC 4648 §5)

Request Example

{
  "value": "Hello, world!",
  "variant": "standard"
}

Response Example

{
  "data": {
    "result": "SGVsbG8sIHdvcmxkIQ=="
  },
  "metadata": {
    "timestamp": "2026-01-01T00:00:00Z"
  }
}

Response Fields

Field Type Description
result string The Base64-encoded output string

Errors

  • undefined 400 — value field is missing or empty
  • undefined 422 — variant is not standard or url
  • undefined 401 — Missing or invalid API key

gabrielmoreira/agent-skills-mirror/tree/main/mirrors/repos/bobadilla-tech@requiems-api-skills/skills/developer-utilities-post-encode commit 1701351946

Frequently asked questions

npx skillmds@latest add gabrielmoreira/developer-utilities-post-encode