edit : rest call check