Sign inSign up

gustavohenrique/example-spark-framework-java

By gustavohenrique

•Updated over 9 years ago

Image
0

297

gustavohenrique/example-spark-framework-java repository overview

⁠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"

Tag summary

Content type

Image

Digest

Size

86.5 MB

Last updated

over 9 years ago

docker pull gustavohenrique/example-spark-framework-java