> For the complete documentation index, see [llms.txt](https://docs.9proxy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/setquery.md).

# SetQuery

Set a default client HTTP query parameter for proxy information requests.

```c
void SetQuery(char* key, char* value)
```

***

## Parameters

* **key**: Query parameter name.
* **value**: Query parameter value.

## Return Value

Set a default client HTTP query parameter for proxy information requests.

## Example

```c
// example

SetQuery("api-key", "c");

```
