add auth
This commit is contained in:
12
docs/blog.sh
Normal file
12
docs/blog.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
GET CATEGORY BLOG
|
||||
curl --location 'https://land.dbiz.com//api/method/frappe.client.get_list' \
|
||||
--header 'Cookie: sid=5247354a1d2a45889917a716a26cd97b19c06c1833798432c6215aac; full_name=PublicAPI; sid=5247354a1d2a45889917a716a26cd97b19c06c1833798432c6215aac; system_user=no; user_id=public_api%40dbiz.com; user_image=' \
|
||||
--header 'X-Frappe-Csrf-Token: fdd4a03b4453f49f21bc75f2c1ad3ee6ec400f750c0aea5c1f8a2ea1' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--data '{
|
||||
"doctype": "Blog Category",
|
||||
"fields": ["title","name"],
|
||||
"filters": {"published":1},
|
||||
"order_by" : "creation desc",
|
||||
"limit_page_length": 0
|
||||
}'
|
||||
Reference in New Issue
Block a user