Initial commit with basic CRUD functionality:
* GET all properties * GET one property by id * CREATE one property * DELETE one property by id
This commit is contained in:
27
bruno/propify/Properties/Create new.bru
Normal file
27
bruno/propify/Properties/Create new.bru
Normal file
@@ -0,0 +1,27 @@
|
||||
meta {
|
||||
name: Create new
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{BASE_URL}}/api/{{API_VERSION}}/properties
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"name": "Mustername 1",
|
||||
"street": "Musterstraße",
|
||||
"houseNumber": "1",
|
||||
"zipCode": "55123",
|
||||
"city": "Musterstadt",
|
||||
"country": "de",
|
||||
"notes": "Lorem ipsum"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
Reference in New Issue
Block a user