Request
pendingby Joe Petrakovich
Make web requests via codeblocks and use the result in your notes.
Obsidian Request
An Obsidian plugin for adding web requests to your notes.
- Simple and forgiving markdown codeblock for configuration.
- JSONPath for targeting the value in the response.
- Handlebars for templating the result.
- Request chaining
See the full documentation here
Quick example
```request
url: https://api.nasa.gov/planetary/apod?api_key=DEMO_KEY
---
<img src="{{url}}" alt="{{title}}" />
<details>
<summary>{{title}}</summary>
{{explanation}}
</details>
```
Configuration
| field | type | required | description |
|---|---|---|---|
| url | URL | yes | The HTTP/HTTPS endpoint to request |
| method | string | no | HTTP method: GET, POST, PUT, or DELETE (default: GET) |
| headers | array | no | Request headers as key-value pairs |
| body | JSON | no | Request body (for POST/PUT requests) |
| path | string | no | JSONPath expression to extract data from response |
| then | object | no | Chain another request using data from the previous response |
| — | string | no | Separator between config and template. Use Handlebars JS templates below |
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.