Skip to content

Getting Started

No signup needed. Call the free json-escape endpoint right now:

Terminal window
curl -X POST https://morso.dev/api/json-escape \
-H "Content-Type: application/json" \
-d '{"mode": "escape", "input": "hello \"world\"\nnew line"}'

Response:

{
"output": "hello \\\"world\\\"\\nnew line",
"mode": "escape"
}

Sign up at morso.dev/login with GitHub. Create a key at your Dashboard. Copy it — shown once.

Call /api/hash with your Bearer token:

Terminal window
curl -X POST https://morso.dev/api/hash \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": "hello world"}'

Response:

{
"hash": "b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9",
"algorithm": "sha256",
"encoding": "hex"
}