Re: Posting to LiveCode Server

2018-04-20 Thread Richard Gaskin via use-livecode
Tom Glod wrote: > I was going to use LC Server until I realized there was a built in > httpd server library present in LC 9 I ditched LC server > mainly because it smokes LC server in performance. I would be interested in the details of that comparison, scripts and metrics. Despite

Re: Posting to LiveCode Server

2018-04-19 Thread Bob Sneidar via use-livecode
URL Encode it. Bob S > On Apr 18, 2018, at 22:48 , David Bovill via use-livecode > wrote: > > Todd, the browser auto-translates things you type / copy paste in the url > bar to something it expects you want as a url. > > You have characters in the url that

Re: Posting to LiveCode Server

2018-04-18 Thread David Bovill via use-livecode
Todd, the browser auto-translates things you type / copy paste in the url bar to something it expects you want as a url. You have characters in the url that need to be escaped (<>) On Wed, 18 Apr 2018 at 11:51, Todd Fabacher via use-livecode < use-livecode@lists.runrev.com> wrote: > Any Help

Re: Posting to LiveCode Server

2018-04-18 Thread Tom Glod via use-livecode
LiveCode <use-livecode@lists.runrev.com> > Cc: Tom Glod <t...@makeshyft.com> > Subject: Re: Posting to LiveCode Server > > I was going to use LC Server until I realized there was a built in httpd > server library present in LC 9 I ditched LC server mainly because

RE: Posting to LiveCode Server

2018-04-18 Thread Clarence Martin via use-livecode
Tom Glod <t...@makeshyft.com> Subject: Re: Posting to LiveCode Server I was going to use LC Server until I realized there was a built in httpd server library present in LC 9 I ditched LC server mainly because it smokes LC server in performance. Just bringing to awareness all your opti

Re: Posting to LiveCode Server

2018-04-18 Thread Tom Glod via use-livecode
I was going to use LC Server until I realized there was a built in httpd server library present in LC 9 I ditched LC server mainly because it smokes LC server in performance. Just bringing to awareness all your options. http library is so simple to use with callbacks for each request.

Re: Posting to LiveCode Server

2018-04-18 Thread Mike Bonner via use-livecode
Can you share the code to the page you're actually posting to? Its sounding like its not actually returning any output, causing a 500 internal error. Just to let you test, I set up a quick and dirty page at http://guidezone.info/test.lc The code in the page is as follows. " end repeat else

Re: Posting to LiveCode Server

2018-04-18 Thread Alex Tweedly via use-livecode
Not quite sure what you're trying to do ... or why you use such a complicated URL in the client code. Changing it to simply *get URL "https://api01.triviamatic.tv/round_create.lc; * will work fine, as will *post*emptyto"https://api01.triviamatic.tv/round_create.lc; -- Alex. On 18/04/2018

Re: Posting to LiveCode Server

2018-04-18 Thread Matthias Rebbe via use-livecode
Todd, is there a reason why you are not using the function libURLMultipartFormData to format the data before posting? We are using the post method for different tasks including uploading really big files to a livecode server, but we always use libURLMultipartFormData to create the form data.

Posting to LiveCode Server

2018-04-18 Thread Todd Fabacher via use-livecode
Any Help will be appreciated... Normally we use Node.js, but we are trying to get LiveCode server working. We are doing a simple test: If I put the URL in a browser I get back, "It works" https://api01.triviamatic.tv/round_create.lc