Collection of helper functions for dealing with HTTP APIs.