Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
websocket: initial (not integrated)
[src/app-framework-binder.git]
/
src
/
rest-api.c
diff --git
a/src/rest-api.c
b/src/rest-api.c
index
5c74747
..
12f4a44
100644
(file)
--- a/
src/rest-api.c
+++ b/
src/rest-api.c
@@
-29,6
+29,8
@@
#define AFB_MSG_JTYPE "AJB_reply"
+#define JSON_CONTENT "application/json"
+#define FORM_CONTENT "multipart/form-data" /* TODO: replace with MHD_HTTP_POST_ENCODING_MULTIPART_FORMDATA */
static json_object *afbJsonType;