Inline CSS

Convert HTML with embedded CSS styles to in-line styles.

URLs:

Sandbox:

https://sandbox.emailonacid.com/v4/inlineCss - Default (XML) Request
https://sandbox.emailonacid.com/v4/inlineCss/xml - XML Request
https://sandbox.emailonacid.com/v4/inlineCss/json - JSON Request

Production:

https://api.emailonacid.com/v4/inlineCss - Default (XML) Request
https://api.emailonacid.com/v4/inlineCss/xml - XML Request
https://api.emailonacid.com/v4/inlineCss/json - JSON Request

Request:

XML

<?xml version="1.0" encoding="utf-8"?>
<inline_css>
    <eoa_test_id>UNIQUE EMAIL TEST ID</eoa_test_id>
</inline_css>

JSON

{
    "eoa_test_id" : UNIQUE EMAIL TEST ID
}

Request Details

Element Description Data Type Required
eoa_test_id The reference id for the test to retrieve Integer Y

Response:

XML

<?xml version="1.0" encoding="utf-8"?>
<xml>
    <inline_html><![CDATA[<html>....]]></inline_html>
</xml>

JSON

{
    "inline_html" : "<!DOCTYPE html....</html>"
}

Response Details

Element Description Data Type
inline_html The submitted HTML content (not encoded) with applicable CSS injected as attributes in its HTML tags Alpha-numeric String