Skip to main content
insightsoftware Documentation insightsoftware Documentation
{%article.title%}
Published:
Was this article helpful?
0 out of 0 found this helpful

Rest DeleteRequestHeader

Use this command to delete a header and its value that was previously set using REST SETREQUESTHEADER. This command can be used to reset previously defined headers or remove headers that do not apply to the current REST EXECUTEGET, REST EXECUTEHEAD, REST EXECUTEPOST, or REST EXECUTEPUT request.

Syntax:

REST DELETEREQUESTHEADER [HeaderName]

where:

  • HeaderName is the name of the header to delete. If a HeaderName is not provided, all request headers will be deleted from memory.

Syntax example:

REST DELETEREQUESTHEADER "Content-Type"

Published:

Rest DeleteRequestHeader

Use this command to delete a header and its value that was previously set using REST SETREQUESTHEADER. This command can be used to reset previously defined headers or remove headers that do not apply to the current REST EXECUTEGET, REST EXECUTEHEAD, REST EXECUTEPOST, or REST EXECUTEPUT request.

Syntax:

REST DELETEREQUESTHEADER [HeaderName]

where:

  • HeaderName is the name of the header to delete. If a HeaderName is not provided, all request headers will be deleted from memory.

Syntax example:

REST DELETEREQUESTHEADER "Content-Type"

For an optimal Community experience, Please view on Desktop