Updated code exemple

I added the extended option on urlencoded to avoid the deprecated message