Correct the curl call, and clean up text.

This is a follow-on to #1407 that really should have been included in the
initial pull request.
Closes #1405.