HTML indentation

Web service

Name

XML indentation

End-point:

http://www.micene.net/dev.me/web/web_services/IndentationWebService.php

Request

{"jsonrpc":"2.0","method":"XML","params":{"text":"<!DOCTYPE html><html><body><h1>My First Heading</h1><p>My first paragraph.</p></body></html>"},"id":1}

Response

{"jsonrpc":"2.0","result":{"result_text":"<!DOCTYPE html>
<html>
    <body>
        <h1>
            My First Heading
        </h1>
        <p>My first paragraph.</p>
    </body>
</html>","isValid":true},"id":1}
Loading...