Send HTTP-request on a button click?

ZForms for Office 365 > How to? > Send HTTP-request? > Send HTTP-request on a button click?

Select type “Expression” for the button and set expression:

fetch(‘URL‘, {

method: ‘method‘,
headers: {

header

}

}), where

URL – URL to send request to,
method – HTTP-method
header – HTTP-header.

Contents