Public Repository

Last pushed: 9 months ago
Short Description
Short description is empty for this repo.
Full Description

Running

$ docker run -d -p 9999:9999 gustavohenrique/example-spark-framework-java

Using

Adding Property
$ curl -XPOST -H "content-type:application/json" -d '{"title": "Imóvel código 1, com 5 quartos e 4 banheiros", "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.", "price": 1250000, "x": 222, "y": 444, "beds": 4, "baths": 3, "squareMeters": 210}' "http://localhost:9999/properties"
Finding a Property by ID
$ curl -H "content-type:application/json" "http://localhost:9999/properties/665"
Finding Properties by area
$ curl -H "content-type:application/json" "http://localhost:9999/properties?ax=0&ay=0&bx=1000&by=1400"
Docker Pull Command
Owner
gustavohenrique