Encoder API

About

API Version: 1.8

The Encoder allows you to encode and decode using URL encoding, Base64, and Base64 URL.

Endpoints

GET
https://networkcalc.com/api/encoder/{value}
Encode or decode a value. Encodes or decodes a value.

Parameters

{value}

The value to encode or decode

Example: https://networkcalc.com/api/encoder/Test value to encode.

encoding

The encoding scheme to use.

Values: url,base64,base64url

Example: https://networkcalc.com/api/encoder/base64

decode

(Optional) Set this to true to decode instead of encode.

Values: true,1

Example: https://networkcalc.com/api/encoder/VGhpcyBpcyBhIHRlc3Qh?encoding=base64&decode=true

Response Format

EncoderResponse

Response Codes

200
OK - Success.
400
NOT_ENCODED - The {value} could not be encoded. Check all parameters and try again.
400
NOT_DECODED - The {value} could not be decoded. Check all parameters and try again.

Response Formats

EncoderResponse