basic rest behavior
added curl test script