Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ADF - Web Activity - 'String' does not match the field: 'body'

I created a Web Activity in ADF and I am trying to send data with the POST method. According to the documentation, the body takes a String (or expression with resultType string). I want to use the @concat String Function as shown in the image below.

I get a warning that says: Expression of type: 'String' does not match the field: 'body'

I am confused, String does not match the body? The documentation says, the body takes a String? Can anyone help?

https://learn.microsoft.com/en-us/azure/data-factory/control-flow-web-activity

'String' does not match the field: 'body'

like image 766
Maecky Avatar asked Oct 18 '18 12:10

Maecky


1 Answers

It should be an object type. Please use @json('{"key": "value"}')

like image 180
Bo Xiao Avatar answered Nov 03 '22 01:11

Bo Xiao