Getting Started
1. Try the API
Section titled “1. Try the API”No signup needed. Call the free json-escape endpoint right now:
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"}2. Get an API key
Section titled “2. Get an API key”Sign up at morso.dev/login with GitHub. Create a key at your Dashboard. Copy it — shown once.
3. Make an authenticated request
Section titled “3. Make an authenticated request”Call /api/hash with your Bearer token:
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"}