Could this be done with `httpc` instead? It would avoid the shell-out.