Minify JavaScript with C# and .Maui APIs

using System; public class Program { public static void Main() { var request = (System.Net.HttpWebRequest) System.Net.WebRequest.Create(“https://api.dotmaui.com/client/1.0/jsmin/”); var postData = “apikey=YOUR_API_KEY”; postData += “&url=https://code.jquery.com/jquery-3.4.1.js”; postData += “&asciionly=false”; var data = System.Text.Encoding.ASCII.GetBytes(postData); request.Method = “POST”; request.ContentType =…

CSS Minify API 1.2 released!

We have just released a new version of the API to minimize CSS. Based on your feedback we have added four new parameters: removeurlquotes: Removes quotes from urls. Default is true.removecomments: Removes all comments. Default…

Convert URLs and HTML Code to PDF with PHP

Our API is a free solution for converting web pages and HTML documents to PDF with PHP. Here is a simple example: <?php $data = array(“apikey” => “YOUR_API_KEY”, “html” => “<p>My first pdf with <b>.Maui…

.Maui CDN API

View or delete your files in the .Maui CDN. Example with GET (Premium Users): https://api.dotmaui.com/client/1.0/cdn/?apikey=YOUR_API_KEY&cmd=ls&limit=0,10 Response: { “resources”: { “0”: { “creationDate”: “2017-10-16T12:14:46.473Z”, “UID”: “7iikf1”, “size”: 44416, “url”: “https://cdn.dotmaui.com/libs/img/33399.jpg” }, “1”: { “creationDate”: “2017-10-16T12:14:46.473Z”, “UID”:…

Minify JavaScript with Telegram

Now with @DotMauiBot, the dotmaui.com Telegram bot, you can minimize Javascript code directly from this instant messaging application. Obviously it is more convenient to use this feature from the desktop client or from the website,…

Minify HTML API with PHP

Minimize HTML from an url with the .Maui APIs in PHP is quick, easy and free. It is necessary to register at dotmaui.com to get the free api key. To run this example, the CURL…