testing restapi