WEB GET VARIABLES only parses form variables (x-www-form-urlencoded).

and then, jQuery post() only sends x-www-form-urlencoded.

http://stackoverflow.com/questions/5529685/post-doesnt-send-data-as-json-but-as-x-www-form-urlencoded-instead

so with this setup,
you are basically working with a string variable whose name is "data"
and whose content just happens to look like JSON.

if you want to directly work with JSON,
then you need to use jQuery ajax (not post) as explained in the SO post above,
and use
WEB GET HTTP HEADER
WEB GET HTTP BODY PARTS/WEB GET HTTP BODY
JSON Parse/JSON PARSE ARRAY
with appropriate error handling instead of WEB GET VARIABLES.



**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to