add the ability to handle compressed and uncompressed LiveCode arrays as well as JSON data
add the ability to handle compressed and uncompressed LiveCode arrays as well as JSON data

For this to work the following headers must be sent along with the POST data: "Content-Type: application/lc.array" or "Content-Type: application/lc.array.compressed" respectively for LiveCode arrays, "Content-Type: application/json" for JSON. Use urlEncode(arrayEncode(myArray)) or base64Encode(compress(arrayEncode(myArray))) to prepare arrays on the client side. JSON data on the server side can be retrieved from $_POST and from $_POST_RAW as well as from rigVarPost() or from rigVarPost(, TRUE) respectively.

montegoulding/revigniter,montegoulding/revigniter,revig/revigniter