Skip to content

WintonetekOCR/Text-OCR-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Text ocr api C# calling source code

Introduction

Source Code

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://netocr.com/api/recogliu.do");
var content = new MultipartFormDataContent();
content.Add(new StringContent("/9j"), "img");
content.Add(new StringContent("M***********g"), "key");
content.Add(new StringContent("3***********6"), "secret");
content.Add(new StringContent("1993"), "typeId");
content.Add(new StringContent("json"), "format");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync()); 

About

API interface calling code with C#

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published