add auth
This commit is contained in:
12
docs/auth.sh
12
docs/auth.sh
@@ -55,4 +55,16 @@ curl --location 'https://land.dbiz.com//api/method/building_material.building_ma
|
||||
"certificates_base64" : [
|
||||
"bas64_1 str","base64_2 str"
|
||||
]
|
||||
}'
|
||||
|
||||
LOGIN
|
||||
curl --location 'https://land.dbiz.com//api/method/building_material.building_material.api.auth.login' \
|
||||
--header 'Cookie: sid=18b0b29f511c1a2f4ea33a110fd9839a0da833a051a6ca30d2b387f9' \
|
||||
--header 'X-Frappe-Csrf-Token: 2b039c0e717027480d1faff125aeece598f65a2a822858e12e5c107a' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--data '{
|
||||
"username" : "0978113710",
|
||||
"googleid" : null,
|
||||
"facebookid" : null,
|
||||
"zaloid" : null
|
||||
}'
|
||||
Reference in New Issue
Block a user