API of webserver