//-- Intent: Upload an audio file recording for VoiceCode 100000 with --// //-- and audio file fragment code of 200123 --// <!-- Posted body content is a binary file upload --> $.ajax({ type: "POST", contentType: "application/json; charset=utf-8", headers: {"SwiftAPI-Key": "12345"}, url: "http://api.v4.swiftreach.com/api/Messages/Voice/Upload/100000/200123", dataType: "json" success: function(result) { // Do something with the result } }); <!-- example return value --> 0