need to url encode params before posting

posting will not work for all characters without encodeURIComponent