added some links and an example to help people without a lot of url encoding experience (me :P ).

Hope this is useful, it's a bit of a long example, but just one I had on hand.