The HTTP Post Action Component allows you to create HTTP POST and GET requests to an URL.

Important Note:

  1. “Query String” is used for the query string, which is passed as a query string in the URL parameter. This can be used for GET or POST and any format of Content-Type.
  2. “Body” is used for the content body of HTTP request. This can be only used for POST request and it’s ignored for GET requests.
  3. Both “Query String” and “Body” can be specified in the format var1=value1&var2=value2. The component parse this string and format corresponding the “Content-Type”. So, if you choose application/json, the above value in the “Body” will be { "var1": "value1", "var2": "value2"}.

An example application/json that posts the sensor type as well as the value would be "{\"DataKind\":\"" + av.DataKind + "\", \"DataValue\":\""+DataValue+"\", \"SenderId\:\""+ av.SenderId +"\"}"

av. in the variable name stands for “action variable” which is the variable that’s passed on by the sensor / trigger.


Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment