Allows `curl-api-post` to specify method via `-X`

Useful for allowing `-X PUT` or `-X PATCH`, which both also want a
Content-Type header, but aren't `-X POST`.
Prevents prompt failure message from persisting

Previously a failed command would keep the middle row failure message
around.  Instead, clear it whenever the prompt is redrawn.