got basic rest api working