Send data to local rest