> For the complete documentation index, see [llms.txt](https://docs.monaverse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.monaverse.com/create/building-spaces/adding-interactivity/visual-scripting/web-request-node.md).

# Web Request Node

The Unity Web Request node allows a Mona space to communicate with a web server. The primary goal of the Unity Web Request system is to allow projects to interact with web browser back-ends. For more information, check out the [UnityWebRequest documentation](https://docs.unity3d.com/2023.2/Documentation/Manual/UnityWebRequest.html).

You could therefore create a space that interacts with information from the web. \
Examples of this include :&#x20;

* Get information from web data such as a .json or image files to feed into a space.
* Send information to a server to store data such as a leaderboard.
* Create a text file to track an inventory or scoreboard over multiple spaces.
* Realtime data: weather data, news feed, pollution, planets, etc.
* Saving game progress: save collected items, areas unlocked, so that you don’t start from scratch next time you play.

You will need to use the latest Mona SDK [here](https://github.com/monaverse/SpaceStarter) if you want to use the UnityWebRequest nodes in Visual Scripting.

### UnityWebRequest Example

If you would like to see an example of the UnityWebRequest in action, you can download the following project. If you look into the Cat asset (near the desk) you can interact with it in order to pull cat facts from an external source. Looking into the Visual Script of the asset will give you a simple example of utilising the UnityWebrequest node in Visual Scripts.

To download the project, go here : <https://github.com/monaverse/Sample_WebRequestNode>

### Updating a current Mona Space

If you want to update a current project, the easiest approach is using the [Updating the Template SDK](/create/resources/updating-the-template-sdk.md) documentation.&#x20;

Alternatively, you could add the required nodes manually by doing the following :&#x20;

* Go to Edit > Project Settings.
* Go to Visual Scripting in the left panel.
* At the top, expand the *'Node Library'* options. This needs to be first.
  * At the bottom of the *'Node Library'* listing, select the '+' symbol to add a new item.
  * Add the following two items by clicking on the slot and using the search tool.
    * UnityEngine.UnityWebRequestModule
    * UnityEngine.UnityWebRequestWWWModule

<figure><img src="/files/OTEbXxku8iz9ZaF8oGXP" alt=""><figcaption><p>Add the Node Library options</p></figcaption></figure>

* Expand the *'Type Options'* listing above the Node Library listing.
  * At the bottom of the *'Type Options'* listing, select the '+' symbol to add a new item.
  * Add the following three items by clicking on the slot and using the search tool.
    * Download Handler
    * Unity Web Request
    * WWW Form
* Once the items are added, select *'Regenerate Nodes'* and select OK once done.

<figure><img src="/files/E2RSt1yLX2j0pholFTjv" alt=""><figcaption><p>Add the Type Options...</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.monaverse.com/create/building-spaces/adding-interactivity/visual-scripting/web-request-node.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
