diff --git a/rp/static/index.html b/rp/static/index.html
index 65ee4d16c8c4b8081e5aff5fa6feac25239c2ed6..33407ce71f9d6bfef662002837bf649445e25914 100644
--- a/rp/static/index.html
+++ b/rp/static/index.html
@@ -86,7 +86,8 @@ an example app that uses Mozilla ID for an awesome login experience.
 
         $.ajax({
           url: '/login',
-          data: JSON.stringify(assertion),
+          type: "post",
+          data: assertion,
           success: function(data, textStatus, jqXHR) {
             // we've got a response from the server half of the mywords
             // application which has validated the assertion