binding to rest api