comparison 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
comparison
equal deleted inserted replaced
2988:3cc78e6a8758 2989:926aaaeb0d21
46 element. 46 element.
47 47
48 `application/x-www-form-urlencoded` 48 `application/x-www-form-urlencoded`
49 : Allows more fields to be specified. 49 : Allows more fields to be specified.
50 50
51 `application/json`
52 : Similar to form data.
53
54 Which one is selected via the `Content-Type` HTTP header.
55
51 ### Data fields 56 ### Data fields
52 57
53 The form data format allow the following fields: 58 The form data and JSON formats allow the following fields:
54 59
55 `to` 60 `to`
56 : Can be used instead of having the receiver in the URL. 61 : Can be used instead of having the receiver in the URL.
57 62
58 `type` 63 `type`