HttpTrigger.dataType Method

Definition

Defines how Functions runtime should treat the parameter value. Possible values are:

  • "": get the value as a string, and try to deserialize to actual parameter type like POJO
  • string: always get the value as a string
  • binary: get the value as a binary data, and try to deserialize to actual parameter type byte[]
public abstract String dataType()

Returns

java.lang.String

The dataType which will be used by the Functions runtime.

Applies to