All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tpl.http-request.ftl Maven / Gradle / Ivy

There is a newer version: 2.29.0
Show newest version
<#ftl output_format="HTML">
<#-- @ftlvariable name="data" type="io.qameta.allure.attachment.http.HttpRequestAttachment" -->
<#if data.method??>${data.method}<#else>GET to <#if data.url??>${data.url}<#else>Unknown
<#if data.body??>

Body

    <#t>${data.body}
    
<#if (data.headers)?has_content>

Headers

<#list data.headers as name, value>
${name}: ${value!"null"}
<#if (data.cookies)?has_content>

Cookies

<#list data.cookies as name, value>
${name}: ${value!"null"}
<#if data.curl??>

Curl

${data.curl}
<#if (data.formParams)?has_content>

FormParams

<#list data.formParams as name, value>
${name}: ${value!"null"}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy