add encode to httpget