Git Product home page Git Product logo

book-rest-api's Introduction

GET

http://localhost:8081/rest/books

GET By ID

http://localhost:8081/rest/books/cff6c1c3-be92-4cb3-9c79-5a67f63a3d61

POST

http://localhost:8081/rest/books

PUT

http://localhost:8081/rest/books

PATCH

http://localhost:8081/rest/books/cff6c1c3-be92-4cb3-9c79-5a67f63a3d61

DELETE

http://localhost:8081/rest/books/cff6c1c3-be92-4cb3-9c79-5a67f63a3d61

After Spring Data Rest

Book

http://localhost:8081/rest/book

Search

http://localhost:8081/rest/book/search		

Find By Title

http://localhost:8081/rest/book/search/findByTitle?title=Spring%20Microservices%20in%20Action

Find By Author

http://localhost:8081/rest/book/search/findByAuthor?author=John%20Carnell

Find By ISBN Number

http://localhost:8081/rest/book/search/findByIsbnNumber?isbnNumber=9351199193

Find By Language

http://localhost:8081/rest/book/search/findByLanguage?language=English

Find By Price

http://localhost:8081/rest/book/search/findByPrice?price=2776

Requests

{
    "title": "Spring in Action",
    "author": "Craig Walls",
    "coverPhotoURL": "https://images-na.ssl-images-amazon.com/images/I/51gHy16h5TL.jpg",
    "isbnNumber": 9789351197997,
    "price": 630,
    "language": "English"
}
{
    "title": "Java Persistence with Hibernate",
    "author": "Christian Bauer and Gavin King",
    "coverPhotoURL": "https://images.manning.com/720/960/resize/book/d/2ea186d-c683-4d54-95f9-cca25b6fe49e/bauer2.png",
    "isbnNumber": 9351199193,
    "price": 771,
    "language": "English"
}
{
    "title": "Grails in Action",
    "author": "Glen Smith and Peter Ledbrook",
    "coverPhotoURL": "https://images.manning.com/720/960/resize/book/6/3e9d5ed-4155-466d-ab46-538bb355948d/gsmith2.png",
    "isbnNumber": 1617290963,
    "price": 2907,
    "language": "English"
}
{
    "title": "Spring Boot in Action",
    "author": "Craig Walls",
    "coverPhotoURL": "https://images.manning.com/720/960/resize/book/6/bb80688-f898-4df7-838a-253b1de123c4/Walls-SpringBoot-HI.png",
    "isbnNumber": 1617292540,
    "price": 3149,
    "language": "English"
}
{
    "title": "Head First Java: A Brain-Friendly Guide",
    "author": "Kathy Sierra",
    "coverPhotoURL": "https://covers.oreillystatic.com/images/9780596004651/lrg.jpg",
    "isbnNumber": 8173666024,
    "price": 498,
    "language": "English"
}

book-rest-api's People

Contributors

mightyjava 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.