---
title: "httpCreateParameter"
canonical: "https://support.appfire.com/space/PSJ/15481224/httpCreateParameter"
format: markdown
---
> Macro (aura-html)


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | httpCreateParameter(name, value) | **Package** | http |
| **Alias** |  | **Pkg Usage** | createParam(name, value) |

## Description

> Macro (excerpt)
> 
> Creates an HttpQueryParam object.

Creates an HttpQueryParam object.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| name | String | Yes | The name of the query parameter. |
| value | String | Yes | The value of the query parameter. |

## Return Type

**[HttpQueryParam](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15487117)**

## Example

```
HttpRequest request;
HttpQueryParam param = httpCreateParameter("name", "John");
request.parameters += param;
```

## See also

> Macro (contentbylabel)