# HTTP-Based Components

HTTP components can also be created and may be useful when integrating Proven applications with other third-party systems such as OAuth providers.

To create an HTTP endpoint your component must implement the `wasi:http/proxy` interface and implement `incoming-handler.`

### Using accessing the user context through HTTP headers

Bearer tokens (JWTs) may be generated through the developer SDKs and presented to HTTP endpoints via the `Authorization` header to allow temporary access to session-based storage resources.

### Code examples

Coming soon


---

# 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://docs.proven.network/http-based-components.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.
