use ApiConsumer to send request to backend