Skip to content

Latest commit

 

History

History
59 lines (45 loc) · 1000 Bytes

File metadata and controls

59 lines (45 loc) · 1000 Bytes

GET http://localhost:4000/api/workouts/

### GET http://localhost:4000/api/workouts/62b04efccb2c5e2a6dfdec93

### POST http://localhost:4000/api/workouts/ content-type: application/json

{
"title": "Bench Press", "load": 25, "reps": 40

}

### DELETE http://localhost:4000/api/workouts/62b2e24733d829aa1ca893c3

### PATCH http://localhost:4000/api/workouts/62b2e24733d829aa1ca893c3 content-type: application/json

{
"reps": 51

}

### POST http://localhost:4000/api/user/login content-type: application/json

{
"email": "mohammed1234@najib.com", "password": "ABCabc123!"

}

# { # "email": "mohammed@najib.com", # "password": "abc123" # }

### POST http://localhost:4000/api/user/signup content-type: application/json

{
"email": "mohammed1234@najib.com", "password": "ABCabc123!"

}

### # POST http://localhost:4000/api/user/login # content-type: application/json

# { # "email": "jkjkjj@dfdfd.com", # "password": "login" # }

# 62b2e24733d829aa1ca893c3