---
title: "HTTP Hello World | wasmCloud"
description: "This is a simple Rust Wasm example that responds with a \"Hello World\" message for each request."
canonical: "https://wasmcloud.com/docs/v1/examples/rust/component/http-hello-world/"
---

This is documentation for wasmCloud **v1**, which is no longer actively maintained.

For up-to-date documentation, see the **[latest version](https://wasmcloud.com/docs/)** (v2).

Version: v1

# HTTP Hello World

This is a simple Rust Wasm example that responds with a "Hello World" message for each request.

## Prerequisites

- `cargo` 1.82
- [`wash`](https://wasmcloud.com/docs/v1/installation/) 0.36.1
- `wasmtime` >=25.0.0 (if running with wasmtime)

## Building

bash

```bash
wash build
```

## Running with wasmtime

You must have wasmtime >=25.0.0 for this to work. Make sure to follow the build step above first.

bash

```bash
wasmtime serve -Scommon ./build/http_hello_world_s.wasm
```

## Running with wasmCloud

shell

```shell
wash dev
```

shell

```shell
curl http://127.0.0.1:8000
```

## Adding Capabilities

To learn how to extend this example with additional capabilities, see the [Adding Capabilities](https://wasmcloud.com/docs/v1/tour/add-features/?lang=rust) section of the wasmCloud documentation.

Last updated on **Nov 20, 2026** by **Victor Adossi**
