added curl testing
completed REST API