Add headers to PUT requests.
Initial HTTP API GET and PUT tests.