Send an image url to an API
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Send an image url to an API
Hello , I am trying to use an API OCR converts an image into text , the api works by method post and receives as parameter the image , language, and developer key , I was doing tests from LiveCode but can not find a way to send the image as such through this url . anyone know how to do ?, I put part of the documentation of the API , Greetings from Colombia
-
- VIP Livecode Opensource Backer
- Posts: 9842
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Send an image url to an API
Please do not make duplicate threads in multiple places for a single topic. Keeping a single thread in one place allows others to find and contribute to a conversation more easily.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: Send an image url to an API
Hi yan,
I have posting the image and getting the correct values from http://api.ocrapiservice.com/1.0/rest/ocr working in liveCode.
The trouble is this isn't a beginners task. Do you know about things like httpHeaders?
I'll tell you one thing I found that was very helpful was this tool;
http://www.telerik.com/fiddler
Using that and Test Drive you can find out what ocrapiservice is looking for in a POST.
Simon
I have posting the image and getting the correct values from http://api.ocrapiservice.com/1.0/rest/ocr working in liveCode.
The trouble is this isn't a beginners task. Do you know about things like httpHeaders?
I'll tell you one thing I found that was very helpful was this tool;
http://www.telerik.com/fiddler
Using that and Test Drive you can find out what ocrapiservice is looking for in a POST.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!