Send serial data to server using post