Exercising spring-boot-gridfs with curl
Store the file Joker.png using curl's -F option to initiate a multi-part binary POST of the image file.
$ curl -F file=@Joker.png http://localhost:8080/files$ curl http://localhost:8080/filesResponse:
["Joker.png"]Retrieve the file Joker.png from GridFS and store it on the local file system as file Joker.new.png.
$ curl -o Joker.new.png http://localhost:8080/files/Joker.png