Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #21936
| From | Denis McMahon <denismfmcmahon@gmail.com> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: json, encoding and ajax |
| Date | 2013-11-08 17:41 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <l5j7p1$qag$1@dont-email.me> (permalink) |
| References | <WpOdnUN-mJ1PNOHPnZ2dnUVZ_tCdnZ2d@westnet.com.au> |
On Fri, 08 Nov 2013 20:06:39 +1100, Andrew Poulos wrote: > If I'm sending json to the server does it need to be encoded eg using > encodeURIComponent? How are you sending it? If you're passing it in a get request, then it may well need uri encoding, however if you're passing it as if it were a form text field from a post request, then I think as long as the type for the form data is set (multipart/form-data?) and the character encoding is ok, you should be fine. -- Denis McMahon, denismfmcmahon@gmail.com
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
json, encoding and ajax Andrew Poulos <ap_prog@hotmail.com> - 2013-11-08 20:06 +1100 Re: json, encoding and ajax Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-11-08 10:43 +0100 Re: json, encoding and ajax Denis McMahon <denismfmcmahon@gmail.com> - 2013-11-08 17:41 +0000 Re: json, encoding and ajax Christoph Michael Becker <cmbecker69@arcor.de> - 2013-11-08 19:19 +0100
csiph-web