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'
    }
  }), 

где:
URL – URL для отправки запроса,
method – HTTP-метод,
header – HTTP-заголовок.

Contents