Handles base64 file content POSTed through json data.