applied Restful based on JSON