debug call curl