static void Main(string[] args)
{
InvokeRequestResponseService().Wait();
}
static async Task InvokeRequestResponseService()
{
.............
*** var requestBody = @"{
""input_data"": {
""columns"": [
""pclass"",
""gender"",
""age"",
""sibsp"",
""embarked""
],
""index"": [],
""data"": []
}
}"; ***
The input part of the code generated by "Consume" of "endpoints in azure ml".
Show me an example of what form the above should be filled in.
-----------------------------
The bottom one was filled like this.
var requestBody = @"{
""Inputs"": {
""data"": [
{
""pclass"": 2,
""gender"":""female"",
""age"": 70.0,
""sibsp"": 0,
""embarked"":""C""
}
]
},
""GlobalParameters"": {
""method"": ""predict""
}
}";