send application/json to server