Add bruno files
This commit is contained in:
26
Bruno/Seed/Post operations/Post 1/Create a post.bru
Normal file
26
Bruno/Seed/Post operations/Post 1/Create a post.bru
Normal file
@@ -0,0 +1,26 @@
|
||||
meta {
|
||||
name: Create a post
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{baseUrl}}/api/posts
|
||||
body: json
|
||||
auth: bearer
|
||||
}
|
||||
|
||||
auth:bearer {
|
||||
token: {{accessToken}}
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"title": "TheoTown logo",
|
||||
"Description": "Some text...",
|
||||
"tags": [],
|
||||
"filename": "super image.png",
|
||||
"fileMimeType": "image/png",
|
||||
"fileSize": 642261
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user