-
Notifications
You must be signed in to change notification settings - Fork 210
Description
I've been at this one 2 days now and I'm getting absolutely nowhere.
I'm doing a pre-compiled function app. Its brought in the following nugets:
Fare
Microsoft.AspNet.WebApi.Client
Microsoft.Azure.KeyVault.Core
Microsoft.Azure.WebJobs
Microsoft.Azure.WebJobs.Core
Microsoft.Azure.WebJobs.Extensions
Microsoft.CodeDom.Providers.DotNetCompilerPlatform
Microsoft.Data.Edm
Microsoft.Data.OData
Microsoft.Data.Services.Client
Microsoft.Net.Compilers ncy=true />
Microsoft.Tpl.Dataflow
Microsoft.WindowsAzure.ConfigurationManager
ncrontab
Newtonsoft.Json
RestSharp
StackExchange.Redis
System.ComponentModel.EventBasedAsync
System.Dynamic.Runtime
System.Linq.Queryable
System.Net.Http
System.Net.Requests
System.Security.Cryptography.Algorithms
System.Security.Cryptography.Encoding
System.Security.Cryptography.Primitives
System.Security.Cryptography.X509Certificates
System.Spatial
WindowsAzure.ServiceBus
WindowsAzure.Storage
My code looks like:
public static async Task Run(HttpRequestMessage req, IAsyncCollector itemForQueue, TraceWriter log)
{
if (req.Content == null) // Always fails here
return new HttpResponseMessage(HttpStatusCode.BadRequest);
... never gets further
I can add my content into the test pane on the right, with POST selected, and it always has a null content.
I've got this created via ARM so I've recreated the resource group many times, no change.
I have several other apps set up that as far as I can tell are identical that work...
If I got an error or something it would be a start, but nothing, I'm about ready to give up and choose another tech TBH