Created
August 23, 2022 07:13
-
-
Save bjoerntx/9f242a97504df18a7bba3bd1301ede25 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
public IActionResult RequestWebAPI() { | |
var webHookUrl = Request.Scheme + "://" + Request.Host + "/Home/WebHook"; | |
var requestUrl = | |
"https://localhost:7210/api/DocumentProcessing/merge?webHookUrl=" + webHookUrl; | |
HttpClient client = new HttpClient(); | |
HttpResponseMessage responseMessage = client.PostAsync(requestUrl, null).Result; | |
return View(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment