How to use DefaultMarkdownGenerator with requests only?
#1164
Unanswered
barvhaim
asked this question in
Forums - Q&A
Replies: 1 comment
-
|
The Basic request: curl -X POST http://your-docker-host:11235/md \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-d '{
"url": "https://example.com",
"f": "fit"
}'Filter modes available:
Response: {
"url": "https://example.com",
"filter": "fit",
"query": null,
"cache": "0",
"markdown": "# Page Title\n\nContent here...",
"success": true
}If you need more control (CSS selectors, excluded tags, etc.), use the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, what's the payload parameters for using the
DefaultMarkdownGeneratorwithout installing the whole library? I use the REST API directly against an instance running on dockerBeta Was this translation helpful? Give feedback.
All reactions