more debugging of curl call