Add curl to send json