HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/ApplyCouponRequest HTTP/1.1
Host: api.kidkare.com
Content-Type: text/jsv
Content-Length: length
{
couponCode: String,
addonCode: String,
addonPrice: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
discount: 0,
total: 0,
tax: 0
}