From 31c6f51716c2b3f11ae6e7e3b0c60c29c37fa988 Mon Sep 17 00:00:00 2001 From: Len Smith Date: Fri, 8 Mar 2013 17:38:18 -0500 Subject: [PATCH] Don't force XML for ajax requests --- app/assets/javascripts/api_taster/app.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/assets/javascripts/api_taster/app.js b/app/assets/javascripts/api_taster/app.js index d8d2615..1abd534 100644 --- a/app/assets/javascripts/api_taster/app.js +++ b/app/assets/javascripts/api_taster/app.js @@ -119,8 +119,7 @@ jQuery(function($) { window.ajax = $.ajax({ url: ApiTaster.getSubmitUrl($form), type: $form.attr('method'), - data: $form.serialize(), - dataType: 'xml' + data: $form.serialize() }).complete(onComplete); ApiTaster.lastRequest = {};