Add backends HTTP API and tests