check in rest call