By submitting the ajax request as a post, we avoid reaching the web server url length limit. Fixes #1887