Added specs for the new HTTP API