# Sending a Request from Remix

In Remix, under “DEPLOY & RUN TRANSACTIONS”, click the left arrow next to your deployed contract:

<div align="left"><figure><img src="https://62720068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNQrWPKDHvXg0HQjwzHbY%2Fuploads%2FteKFFH2nw7d7s9XO5jRR%2Ffunctions36.png?alt=media&#x26;token=3bb375bf-5834-41dd-9386-003115ef49fe" alt=""><figcaption><p>Click the left arrow</p></figcaption></figure></div>

To the right of the `sendRequest` function, click the down arrow:&#x20;

<div align="left"><figure><img src="https://62720068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNQrWPKDHvXg0HQjwzHbY%2Fuploads%2FlCDCYqZimuYdYz4DlOZq%2Ffunctions37.png?alt=media&#x26;token=ea4fc673-82a6-48e9-a50b-d2e19ca321e8" alt=""><figcaption><p>Click the down arrow</p></figcaption></figure></div>

Here, you will find two parameter inputs, `subscriptionId` and `args`.  Paste in your Subscription ID (#1) from your Chainlink subscription . Then put in \``` [1]` `` for the `args` (#2).  This is the character Id we're going to fetch!  Then  click the “transact” orange button (#3).\
\
MetaMask will pop-up asking to confirm the transactions so  press the "Confirm" button (#4)

<figure><img src="https://62720068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNQrWPKDHvXg0HQjwzHbY%2Fuploads%2F3cw6j7BPaQmdyuXtXDJG%2FremixFunctions4.png?alt=media&#x26;token=eabb22fd-2c87-46b9-9a7d-7cb3c80d9689" alt=""><figcaption><p>Steps to make the off-chain data call</p></figcaption></figure>

Now after the transaction is confirmed, click the `character` call button and you shall see Luke Skywalker! Try it out will different `args` and it will return different Star Wars characters!&#x20;

<div align="left"><figure><img src="https://62720068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNQrWPKDHvXg0HQjwzHbY%2Fuploads%2FzMOEFSiEZQl4RO7HwKMD%2FremixFunctions5.png?alt=media&#x26;token=faf21164-5d57-4804-98c2-12cf7f17bd0b" alt=""><figcaption><p>Luke, may the force be with you!</p></figcaption></figure></div>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cll-devrel.gitbook.io/bootcamp-2024/9.-off-chain-data-with-chainlink-functions/sending-a-request-from-remix.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
