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