REST

Added method to test the REST API calls, committing it as a precaution