[bug #913613] Fix to use .ajax instead of .post

.post was sending the data urlencoded. .ajax sends it correctly.

This is pretty minor, but it sends the data correctly per the api requirements.

Quick r?