JSON, URL-encode, and UTF-8

Dave Cragg dcragg at lacscentre.co.uk
Thu Aug 20 19:45:11 EDT 2015


> On 21 Aug 2015, at 00:33, J. Landman Gay <jacque at hyperactivesw.com> wrote:
> 
> On 8/20/2015 6:25 PM, Peter W A Wood wrote:
> 
>> You’re content is no longer valid JSON once you have inserted the
>> “json=“ (at the PHP developer’s request). There may be a conflict
>> between the header and the actual content. What happens if you remove
>> the line setting the httpHeaders?
> 
> Thanks Peter. No change, it still fails. I think the PHP guy is stripping off the "json=" anyway and just grabbing the parameters. But it does work without the header in LC 6.

What happens if you remove the httpHeader setting and also UrlEncode tData? 

Dave






More information about the use-livecode mailing list