diff mod_post_msg/README.markdown @ 2989:926aaaeb0d21

mod_post_msg: Add support for a JSON based format similar to what mod_component_http uses
author Kim Alvefur <zash@zash.se>
date Wed, 04 Apr 2018 15:55:09 +0200
parents 3cc78e6a8758
children 455ae6156f5c
line wrap: on
line diff
--- a/mod_post_msg/README.markdown	Wed Apr 04 15:54:30 2018 +0200
+++ b/mod_post_msg/README.markdown	Wed Apr 04 15:55:09 2018 +0200
@@ -48,9 +48,14 @@
 `application/x-www-form-urlencoded`
 :   Allows more fields to be specified.
 
+`application/json`
+:   Similar to form data.
+
+Which one is selected via the `Content-Type` HTTP header.
+
 ### Data fields
 
-The form data format allow the following fields:
+The form data and JSON formats allow the following fields:
 
 `to`
 :   Can be used instead of having the receiver in the URL.