Skip to content

Latest commit

 

History

History
182 lines (167 loc) · 3.63 KB

File metadata and controls

182 lines (167 loc) · 3.63 KB

HTTPS Request

Configs

"http://localhost:3333"

chrome://vivaldi-webui/startpage?section=Speed-dials&background-color=#2e2f37

"Content-Type: application/json
User-Agent: Emacs30"

API

Index

GET :host/hello
:headers

User

Get User By Id

GET :host/api/v1/user/1000
:headers

List User

GET :host/api/v1/users
:headers

Create User

POST :host/api/v1/user
:headers
{
  "pk_user_id" : 1001,
  "username"  : "Jayden1"
}

Update User

PATCH :host/api/v1/user
:headers
{
  "id" : 1000,
  "username"  : "new Jayden"
}

Delete User

DELETE :host/api/v1/user/1002
:headers

Create Course

POST :host/api/v1/course
:headers
{
  "pk_course_id" : 303322,
  "title"  : "Course 4",
  "description"  : "Description course 1"
}