How to access REST services