updated the course index part
This commit is contained in:
17
One & All/info_image/Create Info Image.bru
Normal file
17
One & All/info_image/Create Info Image.bru
Normal file
@@ -0,0 +1,17 @@
|
||||
meta {
|
||||
name: Create Info Image
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{baseUrl}}/api/v1/info_image/
|
||||
body: multipartForm
|
||||
auth: none
|
||||
}
|
||||
|
||||
body:multipart-form {
|
||||
image:
|
||||
index:
|
||||
course_id:
|
||||
}
|
15
One & All/info_image/Delete Info Image.bru
Normal file
15
One & All/info_image/Delete Info Image.bru
Normal file
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: Delete Info Image
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
delete {
|
||||
url: {{baseUrl}}/api/v1/info_image/:id
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
params:path {
|
||||
id:
|
||||
}
|
19
One & All/info_image/Edit Info Image.bru
Normal file
19
One & All/info_image/Edit Info Image.bru
Normal file
@@ -0,0 +1,19 @@
|
||||
meta {
|
||||
name: Edit Info Image
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
put {
|
||||
url: {{baseUrl}}/api/v1/info_image/:id
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
params:query {
|
||||
index:
|
||||
}
|
||||
|
||||
params:path {
|
||||
id:
|
||||
}
|
Reference in New Issue
Block a user