I'm trying to create a AWS Lambda function with c# inside the function I will do a WeRequest.
using System.Net;
...
public class Function{
public SkillResponse FunctionHandler(SkillRequest input, ILambdaContext context){
...
WebRequest request = WebRequest.Create("http://www.url.de");
// Get the response.
HttpWebResponse apianswer = (HttpWebResponse)request.GetResponse();
...
}}
But GetResponse is not available
The AWS template is using .NETCoreApp.Version=v.1.0 is there no GetResponse usable inside this type of function? Or do I have to install another nuget package? How can I do a webrequest inside the function?