Table of Contents

CallHttpHead Procedure

Codeunit Web Wrapper

Performs a HTTP HEAD call. Use the function GetLastIsSuccessStatusCode() to know if server returned a response code of type success.

Signature

CallHttpHead(Url: Text) : Boolean

Parameters

Url Text

The target URL.

Returns

Boolean

true if the call succeeds and a response is received. If the call fails an error is thrown unless SetSilentError() is set, if SetSilentError() is set a fail returns false.

This documentation is generated from Smart Toolbox v27.1