restful services contract concept