afb-client-demo: real raw output when --raw is set 53/14353/1
authorSebastien Douheret <sebastien.douheret@iot.bzh>
Fri, 1 Jun 2018 12:45:41 +0000 (14:45 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Wed, 13 Jun 2018 15:15:22 +0000 (17:15 +0200)
commita708fcbcb234af8ffe69d04786e44472b45f3559
tree17fcf49232cdcf66abcb226fae85ad300bc4c2a8
parented6838709801ed702adddb634a4c5013bc4f9472
afb-client-demo: real raw output when --raw is set

Having a 'real' raw output allows to pipe output with useful tools like jq.
For example:
 afb-client-demo 'localhost:5555/api?token=HELLO&uuid=c' hello ping | \
 jq .request.status

Change-Id: Ib871a257375bec26f315cdcdbb590033b645ac9d
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
src/afb-client-demo.c