{"ok":true,"tool":"HTML Entity Encoder & Decoder","operation":"encode-html-entities","description":"Encode text to HTML entities or decode HTML entities to text.","method":"POST","endpoint":"/api/html-entity-encoder","webUrl":"https://ultraquick.tools/tools/html-entity-encoder","parameters":{"type":"object","properties":{"text":{"type":"string","description":"Text to encode or HTML entities to decode"},"decode":{"type":"boolean","description":"Set to true to decode entities (default false = encode)"}},"required":["text"]},"response":{"type":"object","properties":{"result":{"type":"string"}}},"example":{"request":{"text":"<div>test & co</div>"},"response_shape":{"type":"object","properties":{"result":{"type":"string"}}}},"howToCall":"POST a JSON body to https://ultraquick.tools/api/html-entity-encoder. Returns {\"ok\":true,\"result\":{...}} on success or {\"ok\":false,\"error\":\"...\"} on failure. No auth, CORS-enabled.","parametersSummary":"  text (string, required) — Text to encode or HTML entities to decode\n  decode (boolean, optional) — Set to true to decode entities (default false = encode)","curlExample":"curl -X POST https://ultraquick.tools/api/html-entity-encoder -H \"Content-Type: application/json\" -d '{\"text\":\"<div>test & co</div>\"}'"}