1
votes

I have been trying to create a very simple Logic App in Azure but I keep failing because it does not seem to be accepting my JSON.

Using my payload

{
  "userPrincipalName": "[email protected]",
  "computerName": "MyComputername"
}

I created the trigger

Logic App Trigger

I then use the values of my payload in my response:

Log App Response

Save it and then I POST using Hurl.it to the HTTP POST URL in the request.

Request

Response

So why the heck is the value not used? I'm not able to use any of the values I'm sending.

1

1 Answers

0
votes

Okay.. that was dumb..

I had to add the Content-Type header to the POST:

enter image description here