giving raw url to curl, not cleaned one.