> For the complete documentation index, see [llms.txt](https://docs.guardianservice.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.guardianservice.app/technical-information/users/standard-registry-users-schemas-and-policies/policies/available-policy-workflow-blocks/http-request-block.md).

# Http Request Block

This block for retrieving information from outside (3rd party) services via HTTP requests

## Properties

| Property Name    | Description                                                                       | Example                   |
| ---------------- | --------------------------------------------------------------------------------- | ------------------------- |
| Tag              | Unique name for the logic block.                                                  | Http\_Block               |
| Permissions      | Which entity has rights to interact at this part of the workflow.                 | Standard Registry         |
| Default Active   | Shows whether this block is active at this time and whether it needs to be shown. | Checked or Unchecked      |
| Stop Propagation | End processing here, don't pass control to the next block.                        | Checked or Unchecked      |
| On Errors        | Called if the system error has occurs in the Block                                | No Entry/Retry            |
| URL              | URL of the external service end point                                             | <http://localhost:8080>   |
| Method           | HTTP method of the request                                                        | GET/POST/DELETE/PUT/PATCH |
| Body             | Body of the HTTP request                                                          | $(document)               |
| Headers          | Additional HTTP headers (can be used for authentication purposes)                 | Bearer $(document).Source |

<figure><img src="/files/070apE8zoCx3Y4rqIkRI" alt=""><figcaption></figcaption></figure>

## 2. Dynamic Variables

The values of the URL, Body and Header parameters  can contain variables of the format ${variable}.

Possible values are as follows:

* “did” – DID of the current user
* “username” – name of the current user
* “document” or “documents” – a single document or an array of document correspondingly, which have been passed to the block on entry


---

# 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.guardianservice.app/technical-information/users/standard-registry-users-schemas-and-policies/policies/available-policy-workflow-blocks/http-request-block.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.
