Tag: restfulconstraints

  • Rest API vs HTTP API – Are your REST APIs really REST APIs?

    Let’s say you want to create a REST API using a framework like Spring Boot. You create a class annotated with @RestController. And then you create APIs using @RequestMapping/@GetMapping/@PostMapping annotation. Are these really REST APIs? No. They are just HTTP APIs. What is the difference between the two? HTTP is one of the ways information…