X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Frest-api.c;fp=src%2Frest-api.c;h=12f4a448c4f0f0f13e5ae7c35ddb8ad7fc318b89;hb=5ffc5b65e3f2388d518d0e75afb7788f7d5fa041;hp=5c74747bdf5e278a22e68dd1ddc261b10b201179;hpb=80437693983321d32f20b6324128d441c5fccc49;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;