Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
programming:collection.next_json [2016/11/02 17:01]
jlucas
programming:collection.next_json [2016/11/02 17:04] (current)
jlucas
Line 1223: Line 1223:
 <em> // convert data array to application/x-www-form-urlencoded <em> // convert data array to application/x-www-form-urlencoded
 </span></em> var</span> postData =  translateToFormUrlEncoded</span>(data); </span></em> var</span> postData =  translateToFormUrlEncoded</span>(data);
-</div></div> 
 </pre> </pre>
  
-      <pre><span class="comment">// encoded contents of resulting postData variable</span> +      <pre> 
-<code> +// encoded contents of resulting postData variable 
-first-name=John&last-name=Doe&email=john%40doe.com&website=http%3A%2F%2Fjohn.doe.com&age=37&interests=music&interests=sports&interests=cars&subscribe=0 +first-name=John&last-name=Doe&email=john%40doe.com&website=http%3A%2F%2Fjohn.doe.com&age=37&interests=music&interests=sports&interests=cars&subscribe=0</pre>
-</code></pre>+
  
   </section><!-- /translating to form urlencoded -->   </section><!-- /translating to form urlencoded -->