updated the course index part
This commit is contained in:
21
One & All/sechedule/Create Schedule.bru
Normal file
21
One & All/sechedule/Create Schedule.bru
Normal file
@@ -0,0 +1,21 @@
|
||||
meta {
|
||||
name: Create Schedule
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{baseUrl}}/api/v1/sechedule/
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"title": "",
|
||||
"info1": "",
|
||||
"info2": "",
|
||||
"date": "",
|
||||
"course_id": ""
|
||||
}
|
||||
}
|
15
One & All/sechedule/Delete Schedule.bru
Normal file
15
One & All/sechedule/Delete Schedule.bru
Normal file
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: Delete Schedule
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
delete {
|
||||
url: {{baseUrl}}/api/v1/sechedule/:id
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
params:path {
|
||||
id:
|
||||
}
|
24
One & All/sechedule/Edit Schedule.bru
Normal file
24
One & All/sechedule/Edit Schedule.bru
Normal file
@@ -0,0 +1,24 @@
|
||||
meta {
|
||||
name: Edit Schedule
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
put {
|
||||
url: {{baseUrl}}/api/v1/sechedule/:id
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
params:path {
|
||||
id:
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"title": "",
|
||||
"info1": "",
|
||||
"info2": "",
|
||||
"date": ""
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user