Create web api in the Agent
Description
We need to create a web api in the Agent to be able to receive http request and handle them. This is issue is meant to create the setup to have a web api up and running along with the Agent. You can create a web api project to guide yourself of what is needed to implement the api in agent.
Tasks
-
Create a folder called HttpApi
-
Create a folder inside HttpApi
calledStartup
-
Create the Startup.cs
-
-
Add the CreateWebHostBuilder()
to the Agent's program. -
Set the web api to listen to was is defined in PublicConfiguration -> HttpIp
andPublicConfiguration -> HttpPort
Edited by Hannah Sun