Skip to content

alifruliarso/kotlin-restful-api

Repository files navigation

API SPEC

Create Product

Request :

  • Method : POST
  • Endpoint : /api/products
  • Body :
{
    "id": "string,unique",
    "name": "string",
    "price": "long",
    "quantity": "integer",
    "createdAt": "date"
}

Response :

{
  "code": "number",
  "status": "string",
  "data": {
    "id": "string,unique",
    "name": "string",
    "price": "long",
    "quantity": "integer",
    "createdAt": "date"
  }
}

About

Belajar Membuat RESTful API dengan Spring Boot Kotlin

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published