Obsidian plugin that simply push markdown file to POST endpoint.
Forked from https://github.com/yiglas/obsidian-file-publisher
You must provide a simple POST API endpoint that is able to receive the following JSON
data:
{
"file_name": "{{will be filled with file name}}"
"content": "{{will be filled with file content}}"
}
The API must be protected by Bearer Authorization Bearer YOUR_TOKEN
.
- Enter the POST endpoint URL (eg. https://huedaya.com/api/obsidian-blog/sync)
- Enter the API key (eg.
test
)
Simply click on the Note and select Sync file to my Blog
- If the request fails, please open the developer window
View > Toggle Developer Tools
.
- Create repo for the server side sample