added 'raw' serializer

This commit is contained in:
Roberto Capuano
2017-12-12 16:42:03 +01:00
parent d67e80dfe0
commit 5d5a859cfc
5 changed files with 80 additions and 3 deletions
@@ -144,7 +144,11 @@ abstract class CordovaHttp {
if (new String("json").equals(this.getSerializerName())) {
request.contentType(request.CONTENT_TYPE_JSON, request.CHARSET_UTF8);
request.send(this.getParamsObject().toString());
} else {
} else if (new String("raw").equals(this.getSerializerName())) {
// request.contentType(request.CONTENT_TYPE_JSON, request.CHARSET_UTF8);
request.send(this.getParamsObject().toString());
} else
{
request.form(this.getParamsMap());
}