Looking for help with HTTP POST

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Posts: 50
Joined: Sun Jan 08, 2017 12:01 pm

Re: Looking for help with HTTP POST

Post by UKMC » Wed Mar 22, 2017 10:38 am

Hi Jiml,
exactly this is the problem, there is just iOS.

Its strange that there must have been an android version of mergZXing in 2013 (see in the forum here) which is at no place to find.

And, up to this, I find it really annoying that Monte shows an reaction when asking for this and the only answer you get from LC (sorry Heather) is "please wait".

But that's the world, and LC stays to be my preferred development environment.

Posts: 1576
Joined: Tue May 28, 2013 2:20 pm
Location: Italy

Re: Looking for help with HTTP POST

Post by MaxV » Wed Mar 22, 2017 2:01 pm

A solution is this:
  • create a website with a PHP page
  • POST the image to the PHP page
  • the PHP page put the image in URL like "http://www.myserver.com/myImage.jpg"
  • then use this code:

    Code: Select all

    put URL ("http://api.qrserver.com/v1/read-qr-code/?fileurl=" & urlencode("http://www.myserver.com/myImage.jpg") )
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 858
Joined: Wed Jun 24, 2009 1:17 pm
Location: Plymouth, UK

Re: Looking for help with HTTP POST

Post by dave.kilroy » Thu Mar 23, 2017 12:12 am

Well done MaxV - a nice 'lateral thinking' solution to the problem!

"...this is not the code you are looking for..."

Post Reply

Return to “Internet”