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());
-
Notifications
You must be signed in to change notification settings - Fork 0
API interface calling code with C#
WintonetekOCR/Text-OCR-API
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
API interface calling code with C#
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published