complete curl decode and start generate URL