Test api-request, fix #10 Changed interface