Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions web/Api_Doc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
## Update Password

```go
URL:
localhost:8080/changepassword

Authorization Bearer Token : <Auth Token>

Form-Data :
currentPassword:<Password>
newPassword:<Updated Password>

Response :
Password Updated Successfully

```
### Update Profile

```go
URL:
localhost:8080/update_profile

Authorization Bearer Token : <Auth Token>

Form-Data :
email: test@gmail.com
name: Updated Test Name

Response :
{
"FullName":"test@gmail.com",
"Email":"Updated Test Name",
"CreatedAt":"2021-04-19T08:59:59.485+00:00",
"UpdatedAt":"2021-04-19T08:59:59.485+00:00",
"DeletedAt":"2021-04-19T08:59:59.485+00:00"
}

```