---
schema_version: "1"
id: 8f9d3515a42dcb3f500333b71748401f07886a96a7d0f13e27c02ab3d31ada90
title: Handlebars HTTP Functions
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/handlebars/reference/hb_http_helpers/mcn-handlebars-reference-http.md
canonical_url: https://developer.salesforce.com/docs/marketing/handlebars-for-marketing-cloud-next/references/mcn-handlebars-http-references/mcn-handlebars-reference-http.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: ed58768f1f7772e12b4907c12c278c7d1ff6783251a7a847eb89e81d39deee14
products:
  - Handlebars for Marketing Cloud Next
  - Marketing Cloud
---
# Handlebars HTTP Functions

Use the Handlebars HTTP functions to work with URLs and HTTP requests.

| Function Name                                                             | Description                                                |
| ------------------------------------------------------------------------- | ---------------------------------------------------------- |
| [encodeURI](https://developer.salesforce.com/docs/marketing/handlebars-for-marketing-cloud-next/references/mcn-handlebars-http-references/mcn-handlebars-reference-http-encodeuri.md)                   | Converts a string to a format that’s safe to use in a URL. |
| [encodeURIComponent](https://developer.salesforce.com/docs/marketing/handlebars-for-marketing-cloud-next/references/mcn-handlebars-http-references/mcn-handlebars-reference-http-encodeuricomponent.md) | Encodes non-URL components of a string.                    |
