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 it

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 need to be escaped (<>) _

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 wil

Re: Posting to LiveCode Server

2018-04-18 Thread Tom Glod via use-livecode
@lists.runrev.com> wrote: > Tom, can you expand on your post? Maybe with an example. > > -Original Message- > From: use-livecode On Behalf Of > Tom > Glod via use-livecode > Sent: Wednesday, April 18, 2018 11:31 AM > To: How to use LiveCode > Cc: Tom Glod &g

RE: Posting to LiveCode Server

2018-04-18 Thread Clarence Martin via use-livecode
Tom, can you expand on your post? Maybe with an example. -Original Message- From: use-livecode On Behalf Of Tom Glod via use-livecode Sent: Wednesday, April 18, 2018 11:31 AM To: How to use LiveCode Cc: Tom Glod Subject: Re: Posting to LiveCode Server I was going to use LC Server

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. it

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/201

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.