GOLANG UPDATE POINT

Install dependencies

$ go mod download 

Develop environment at localhost:7000

$ CompileDaemon -build="go build simpleGo" -command="./simpleGo" 

API

Update Point

https://${url}/updatePoint

Request Body

  {
    "memberId": "",
    "productCode": "",
    "terminalId": "",
    "volumn": "",
    "price": ""
  }

Method

POST

Success Response


  • Code: 200 OK
  • Content:
  {
    "memberId": "",
    "productName": "",
    "receivePoint": number 
  }

Error Response

  • Code: 404 NOT FOUND