testing rest api