API Documentation
Documentation for the API endpoints in this application.
POST /api/v1/encode
This endpoint performs encoding of the provided plain text.
Request Body
"game": "fortnite", "text": helloAvailable games
The following games are available:
{
"games": [
"fortnite",
"beamng",
"gd",
"lol",
"minecraft",
"roblox",
"valorant",
"cs2",
"repo"
]
}Responses
Successful response contains the encoded text.
FortniteRP Fortnite SkullTrooper. FortniteRP Fortnite FortniteRP. FortniteRP Fortnite FN. FortniteRP Fortnite FN. FortniteRP FortniteRP FortniteRPError Responses
If the body is empty, you'll receive an error message.
{
"error": "The body text or game is required."
}Example Request
curl -X POST https://gamecrypt.asmocore.eu/api/v1/encode \
-H "Content-Type: application/json" \
-d '{"game": "fortnite", "text": hello}'
Example Response
FortniteRP Fortnite SkullTrooper. FortniteRP Fortnite FortniteRP. FortniteRP Fortnite FN. FortniteRP Fortnite FN. FortniteRP FortniteRP FortniteRPPOST /api/v1/decode
This endpoint performs decoding of the provided plain text.
Request Body
FortniteRP Fortnite SkullTrooper. FortniteRP Fortnite FortniteRP. FortniteRP Fortnite FN. FortniteRP Fortnite FN. FortniteRP FortniteRP FortniteRPAvailable games
The following games are available:
{
"games": [
"fortnite",
"beamng",
"gd",
"lol",
"minecraft",
"roblox",
"valorant",
"cs2",
"repo"
]
}Responses
Successful response contains the decoded text.
helloError Responses
If the body is empty, you'll receive an error message.
{
"error": "The body text or game is required."
}Example Request
curl -X POST https://gamecrypt.asmocore.eu/api/v1/ \
-H "Content-Type: application/json" \
-d '{"game": "fortnite", "text": "FortniteRP Fortnite SkullTrooper. FortniteRP Fortnite FortniteRP. FortniteRP Fortnite FN. FortniteRP Fortnite FN. FortniteRP FortniteRP FortniteRP"}'
Example Response
helloError Response Example
{
"error": "The body text or game is required."
}