Skip to content

byofficial/spring-boot-microservice-2-transaction

Repository files navigation

Spring Boot Microservice 2 - Transaction Service

Endpoints

1- Save Transaction

POST /api/transaction HTTP/1.1
Host: localhost:4444
Authorization: Basic basic64(username:password)
Content-Type: application/json
Content-Length: 37

{
    "userId":1,
    "productId":1
}

2- Get Transactions Of User

GET /api/transaction/1 HTTP/1.1
Host: localhost:4444
Authorization: Basic basic64(username:password)

3- Delete Transaction By Id

DELETE /api/transaction/1 HTTP/1.1
Host: localhost:4444
Authorization: Basic basic64(username:password)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages