Fix curl invocation