EggLang API Usage
×Endpoint: POST /egg-lang/api/v1/encode/json
Data: Required field: 'text'
Returns: Encoded string in EggLang
Limit: Up to 1000 chars
cURL Example:
curl -X POST -d "text=hi" /egg-lang/api/v1/encode/json
Result: | Result when an error occurs: |
{ "success": true, "text": "Egg EgG eGG Egg Egg EGG egg egG" } |
{ "success": false } |
Endpoint: POST /egg-lang/api/v1/decode/json
Data: Required field: 'text'
Returns: Decoded string in human readable format
Limit: Up to 12000 chars (3000 eggs)
cURL Example:
curl -X POST -d "text=Egg EgG eGG Egg Egg EGG egg egG" /egg-lang/api/v1/decode/json
Result: | Result when an error occurs: |
{ "success": true, "text": "hi" } |
{ "success": false } |