Coder Social home page Coder Social logo

klg's Introduction

Lista comend curl

Lista wszystkich rezerwacji Json curl http://localhost:8080/api/reservations

Lista rezerwacji dla danego obiektu curl http://localhost:8080/api/reservations/facility/2

Nowa rezerwacja "/new/{facilityId}/{reservedFrom}/{reservedTo}/{userId}/{reservationCost}" curl -X POST http://localhost:8080/api/reservations/new/1/2025-04-08/2025-04-18/2/333

Edycja rezerwacji curl -X PUT -H 'Content-Type:application/json' -d '{"id":1,"facility":{"id":5,"facilityName":"Vila Stefana","pricePerDay":225.0,"propertyArea":2.0,"descryption":"Possimus nobis ex molestias. Eveniet consequatur sit quos. Deleniti veritatis quo est minus. Libero est ut suscipit quasi hic amet. Voluptate fugiat maiores soluta velit rerum.","owner":{"userId":6,"userName":"Aleksandra"}},"reservedBy":{"userId":3,"userName":"Jan"},"reservedFrom":"2050-11-21T23:00:00.000+00:00","reservedTo":"2051-11-26T23:00:00.000+00:00","reservationCost":100.0}' http://localhost:8080/api/reservations/edit/

Deploy projektu

Będąc w katalogu projektu

$ mvn clean package spring-boot:repackage $ java -jar .\target\klg-test-0.0.1-SNAPSHOT.jar

klg's People

Contributors

patrykkosla avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.