WMB Tutorials | Retrieving Custom HTTP Headers from Request

preview_player
Показать описание
In this video on WMB Tutorials we will see how to Retrieving Custom HTTP Headers from Requests. We will pass headers in request via SOAP UI and then we will access those HTTP custom headers in WMB Code.

Some of the Custom HTTP Headers in Requests

X-CSRF-Token
X-Request-Source
X-Powered-By
X-Cache
X-Pingback
X-Forwarded-For
X-HTTP-Method-Override

Sample code to access HTTP Header Values

DECLARE token CHARACTER InputRoot.HTTPInputHeader."X-CSRF-Token";
DECLARE source CHARACTER InputRoot.HTTPInputHeader."X-Request-Source";
Рекомендации по теме
Комментарии
Автор

very informative. please add tutorials on rest services also

rachananagesh
Автор

Bhai tera mobile number send kar na. Prasonal bat kar ni hy

prashantdhangr