Difference between revisions of "Action: HTTP Server"

(Created page with "<span style="color: #1665b0; font-size: 24px; display: inline-block; margin-top: 15px; margin-bottom: 0px;"><strong>About this action</strong></span> <pre style="background-c...")
 
 
Line 89: Line 89:
 
</html>
 
</html>
 
</pre>
 
</pre>
 
https://en.wikipedia.org/wiki/List_of_HTTP_status_codes
 

Latest revision as of 19:25, 15 April 2024

About this action

This action should be used in conjunction with the HTTP Server trigger to provide a response to the caller.

Plain Text

Supports response code
and only responds to a simple custom text or magic text.

HTML

Use an HTML structure to create a custom page, e.g. 

See also: HTTP Status Code (Wikipedia).
See also: HTTP Server Trigger.

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Discover MacroDroid: Android Automation</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f5f5f5;
            margin: 0;
            padding: 0;
        }
        .container {
            max-width: 800px;
            margin: 50px auto;
            background-color: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }
        h1 {
            color: #333;
            text-align: center;
        }
        p {
            color: #666;
            line-height: 1.6;
        }
        .feature {
            margin-bottom: 20px;
        }
        .feature h2 {
            color: #007bff;
        }
        .feature p {
            color: #444;
        }
        .link {
            color: #007bff;
            text-decoration: none;
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>Discover MacroDroid: Android Automation</h1>
        <div class="feature">
            <h2>Powerful Automation</h2>
            <p>With <a href="https://macrodroid.com" class="link" target="_blank">MacroDroid</a>, you can automate repetitive tasks on your Android device effortlessly, saving time and effort.</p>
        </div>
        <div class="feature">
            <h2>Unlimited Customization</h2>
            <p>Create your own custom macros to suit your specific needs, from toggling settings to launching applications. Check out the <a href="https://macrodroidforum.com/wiki/index.php/MacroDroid_Wiki" class="link" target="_blank">MacroDroid Wiki</a> for more details.</p>
        </div>
        <div class="feature">
            <h2>Easy to Use</h2>
            <p>MacroDroid's intuitive interface makes it easy for anyone to create and manage macros without the need for technical knowledge. Join the discussions on the <a href="https://www.macrodroidforum.com/index.php" class="link" target="_blank">MacroDroid Forum</a> for tips and tricks.</p>
        </div>
        <div class="feature">
            <h2>Full Compatibility</h2>
            <p>MacroDroid is compatible with a wide range of Android devices, ensuring you can enjoy automation wherever you are.</p>
        </div>
    </div>
</body>
</html>