I'm trying to make a POST in a WebRequest Activity
, but the body is always empty if I select JSON format:
I have tried escaping and unescaping characters, with and without quotes and spaces, etc:
{\"value\": [{\"@search.action\": \"delete\",\"id\": \"abc-008\"}]}
And
{value:[{@search.action: delete,id: abc-008}]}
But formValues
is always empty:
var formValues = activityContext.GetState<string>("FormValues") ?? "";
The request works fine if I select Key/Value as the format but I need Json.
Edit: Should add that I tried the valid Json format (JsonLint) plus the examples I gave, with and without spaces and using ' instead of " but it's still empty.