Added postJSON method for usability
support multipart/form-data