https://spring-trans-microservice.herokuapp.com/
url
localhost:4444/api/v1/transaction
body
{
"userId": 1,
"productId":1
}
response
{
"id": 2,
"userId": 1,
"productId": 1,
"createdAt": "2022-06-28T03:31:07.9430886"
}
url
localhost:4444/api/v1/transaction/1
body
{
}
response
[
{
"id": 1,
"userId": 1,
"productId": 1,
"createdAt": "2022-06-28T03:26:54.558591"
},
{
"id": 2,
"userId": 1,
"productId": 1,
"createdAt": "2022-06-28T03:31:07.943089"
}
]
url
localhost:4444/api/v1/transaction/1
body
{
}
response
[
]
username: SecureKeyUsername!
password: SecureKeyPassword!