Request

by joepetrakovich
5
4
3
2
1
Score: 35/100

Description

This plugin has not been manually reviewed by Obsidian staff. Make web requests via codeblocks and use the result in your notes.

Reviews

No reviews yet.

Stats

stars
downloads
0
forks
1
days
NaN
days
NaN
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
0
commits

Latest Version

Invalid date

Changelog

README file from

Github

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="https://raw.githubusercontent.com/joepetrakovich/obsidian-request/HEAD/{{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