generated from obsidianmd/obsidian-sample-plugin
-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
40 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,46 @@ | ||
# Settings | ||
# 🛠️ Settings | ||
|
||
Using the plugin with this method is not recommended. It is better to use code blocks. This method is very limited and does not support all the features of the code block method. | ||
|
||
## name | ||
## ❓ Why use this method | ||
|
||
This method is useful when you want to make a quick request or you need to reuse the same request multiple times. You just need to fill the fields, press `Ctrl+P`, search for `APIR` and select the way you want to display the response (Show a modal or paste it into the document). | ||
|
||
Another advantage is that you can save the request and assign a `shortcut` to it. This way you can make the request just by pressing the keys you assigned. | ||
|
||
## 🏳️ Flags | ||
|
||
### name | ||
|
||
Specifies the name of the request. | ||
|
||
## url (required) | ||
### url (required) | ||
|
||
Specifies the URL of the request. | ||
|
||
## method | ||
### method | ||
|
||
- GET | ||
- POST | ||
- PUT | ||
- DELETE | ||
|
||
## body | ||
### body | ||
|
||
Specifies the body of the request. | ||
|
||
## headers | ||
### headers | ||
|
||
Specifies the headers of the request. | ||
|
||
## what to display | ||
### what to display | ||
|
||
Specifies the output you want. | ||
|
||
## Add this APIR | ||
### Add this APIR | ||
|
||
Save the above fields into a new APIR (you can access all APIRs by pressing `Ctrl+P` and searching for `APIR`). | ||
|
||
## Clear ID's | ||
### Clear ID's | ||
|
||
Remove all IDs stored in `localStorage`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters