Chat with REST API.