Add logging of request as curl