From 3bdc03f00b27cae573dbb6d7b511dbfec9ee6da9 Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Mon, 30 Sep 2019 12:26:19 -0400 Subject: [PATCH] Updated config_yaml (markdown) --- config_yaml.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/config_yaml.md b/config_yaml.md index e4ab453..ec53fe2 100644 --- a/config_yaml.md +++ b/config_yaml.md @@ -1,5 +1,7 @@ ## YAML Based Configuration Files -YAML Support offers a much more advance use then what is provided by the TEXT format. Here is the configuration in it's absolute simplest form: +YAML Support offers a much more advance use then what is provided by the TEXT format. Apprise expects configuration files to be found with the extension of `.yml` or `.yaml`. + +Here is a configuration example in it's absolute simplest form: ```yaml # # Minimal Configuration Example @@ -111,3 +113,11 @@ urls: ``` For details on how to use this configuration file [[click here|config]]. + +## YAML Web Based Hosting +Apprise can retrieve configuration files from over a network as well using the HTTP protocol. +For HTTP requests, the **Content-Type** HTTP Header (_which defines Mime Type_) is very important. Apprise will parse remote network hosted configuration files as YAML so long as you're using one of the following **Content-Type** entries: +* `text/yaml` +* `text/x-yaml` +* `application/yaml` +* `application/x-yaml`