The world's premier moisture detection API
Moist as a Service analyzes your requests and determines if they're moist, wet, or dry. Because the internet needed this.
⚠️ This is a parody / novelty API in the style of No as a Service. It does fuzzy text matching against word lists for fun — it is not a real moisture sensor or a scientific measurement tool of any kind.
curl https://maas.insecure.co.nz/cake
curl https://maas.insecure.co.nz/sponge
curl https://maas.insecure.co.nz/ocean
curl https://maas.insecure.co.nz/api?q=swimming+pool
curl https://maas.insecure.co.nz/desert
curl https://maas.insecure.co.nz/api?q=dust
Visit: https://maas.insecure.co.nz/sponge
Visit: https://maas.insecure.co.nz/waterfall
Browsers get pretty HTML responses!
The service fuzzy matches your request path and query params against dictionaries of moist, wet, and dry things. Content negotiation means curl and API clients get JSON while browsers get HTML.
No. It's a parody/joke API inspired by projects like "No as a Service". It does fuzzy text matching against word lists, not any physical or scientific measurement of moisture.
It extracts text from the request's URL path, query parameters, and POST body, then fuzzy-matches (with 1-character typo tolerance) against three word dictionaries: moist, wet, and dry.
200 OK = matched "moist". 418 I'm a teapot = matched "wet" (too wet). 404 Not Found = matched "dry", or nothing at all (moist not found).
Content negotiation: curl/wget/httpie get JSON, browsers get a styled HTML page with the same classification.