Created
August 22, 2022 16:05
-
-
Save bjoerntx/d5e9ad4704dfe0d76f5eb68e2c98babe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Route("api/[controller]/merge")] | |
[HttpPost] | |
public ProcessingRequest Post(string webHookUrl) { | |
ProcessingRequest request = new ProcessingRequest() { | |
WebHookUrl = webHookUrl | |
}; | |
request.Create(Url.ActionLink("Get", "DocumentProcessing", new { id = "1" })); | |
// start the document processing | |
Task.Run(() => TextControlProcessing.Merge(request)); | |
// return the status immediately | |
return request; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment