Use httr functions, more explicit examples in readme