test webserver with curl