Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 406 Bytes

File metadata and controls

25 lines (17 loc) · 406 Bytes

Wild Backend Cart application

테스트 실행

./gradlew test

애플리케이션(서버) 실행

./gradlew bootRun

curl로 간단히 테스트하기

curl -i localhost:8080

curl -i localhost:8080/cart/line-items

curl -i -X POST -H "Content-Type: application/json" \
    -d '{"productId":"product-1","quantity":2}' \
    localhost:8080/cart/line-items