Commit 01a37d47 authored by freetux's avatar freetux

improve persian readme!

parent 586e5561
......@@ -29,13 +29,20 @@ curl -X POST -d "email=youremail&password=yourpassword"
* **/api/user/api-token-auth/**
یک توکن JWT به همراه اطلاعات کاربر فراهم میکند
allow methods:post
curl -X POST -d "username=yourusername&password=yourpassword"
token: "yourtoken" and "user data"
* **/api/user/api-token-refresh/**
......@@ -43,7 +50,10 @@ curl -X POST -d "username=yourusername&password=yourpassword"
با این api شما میتوانید توکن خود را تازه کنید
allow methods:post
curl -X POST -H "Content-Type: application/json" -d '{"token":"<EXISTING_TOKEN>"}'
......@@ -74,7 +84,7 @@ curl -H "Authorization: JWT yourtoken" -H "Content-type: application/json" -H "A
ایجاد یک رکورد قد و وزن در دیتابیس
* **/api/body/weights/{weight-id}/** (weight and height retrieve, update and destroy endpoint)
* **/api/body/weights/{weight-id}/** (ویرایش و حذف قد و وزن)
#### body/drug
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment