X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=inline;f=src%2Frest-api.c;h=12f4a448c4f0f0f13e5ae7c35ddb8ad7fc318b89;hb=e18643b7ac16dd5663753fb6ddbc49c7deb06e78;hp=5c74747bdf5e278a22e68dd1ddc261b10b201179;hpb=9c9253cd9106e656195aba6f0cadb29f6a940fe1;p=src%2Fapp-framework-binder.git diff --git a/src/rest-api.c b/src/rest-api.c index 5c74747b..12f4a448 100644 --- 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;