afb-hsrv: Add processing of type application/json 95/14495/2
authorjobol <jose.bollo@iot.bzh>
Mon, 18 Jun 2018 11:10:45 +0000 (13:10 +0200)
committerjobol <jose.bollo@iot.bzh>
Mon, 18 Jun 2018 12:10:41 +0000 (14:10 +0200)
commit7bf0d9c6f807ffae6d9871c606afeccb9b478d3d
treedc9cd4cc063f14d495d5f24a5c60d6859cb13cc2
parent4521c1e7ae5371ab9d639adc617d17fb4e8ded0c
afb-hsrv: Add processing of type application/json

Makes the data posted as application/json directly
available through json.

The previous processing made content transmitted
with the content-type application/json available as
a string in the field of name "" of the returned
json object.

Change-Id: I11615b9b147ee4daa1b1358c2bd36fd839d8a7a9
Signed-off-by: jobol <jose.bollo@iot.bzh>
src/afb-hreq.c
src/afb-hreq.h
src/afb-hsrv.c