Skip to content

Universal Base64 & Base32 Encoder

This API provides access to encoding and decoding Base64 & Base32 encoding/decoding.

POST /api/v1/encoder

The following parameters are accepted in the request body:

FieldTypeRequiredDescription
textstringYesThe string to process.
typestringOptionalbase64 (default) or base32.
modestringOptionalencode (default) or decode.

Choose your preferred method to interact with the Encoder API:

Terminal window
curl -X POST https://heavstal.com.ng/api/v1/encoder \
-H "Content-Type: application/json" \
-H "x-api-key: <YOUR_API_KEY>" \
-d '{"text": "Heavstal Tech", "mode": "encode", "type": "base64"}'
{
"status": "success",
"creator": "HEAVSTAL TECH",
"data": {
"type": "base64",
"mode": "encode",
"output": "SGVhdnN0YWwgVGVjaA==",
"is_file": false
}
}