viewing paste Unknown #53943 | Javascript

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
curl 'https://api.dev.mch.dartssolutions.ca/api/cart/items/172' \
  -X 'PUT' \
  -H 'authority: api.dev.mch.dartssolutions.ca' \
  -H 'accept: application/json, text/plain, */*' \
  -H 'authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJJZCI6IjEwIiwiQWNjb3VudElkIjoiMTIiLCJlbWFpbCI6Im1vaGFtZWQubmFnbUBkYXJ0c3NvbHV0aW9ucy5jb20iLCJuYW1laWQiOiJtb2hhbWVkLm5hZ21AZGFydHNzb2x1dGlvbnMuY29tIiwiYXV0aG1ldGhvZCI6IlBhc3N3b3JkIiwicm9sZSI6IkluZGl2aWR1YWwiLCJuYmYiOjE2MDk4NDY3NjEsImV4cCI6MTYwOTkzNjc2MSwiaWF0IjoxNjA5ODQ2NzYxLCJpc3MiOiJNQ0ggQXV0aCBTZXJ2aWNlIiwiYXVkIjoiTUNIIn0.4QwL8kZPjnKn1h84ZlpW21kwvU9OM0KIZa0ut4K5-MM' \
  -H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36' \
  -H 'content-type: application/json' \
  -H 'origin: http://localhost:4400' \
  -H 'sec-fetch-site: cross-site' \
  -H 'sec-fetch-mode: cors' \
  -H 'sec-fetch-dest: empty' \
  -H 'referer: http://localhost:4400/' \
  -H 'accept-language: en-US,en;q=0.9,ar-EG;q=0.8,ar;q=0.7' \
  --data-binary '{"id":172,"modifiedAt":"2021-01-05T11:55:26.568569","createdAt":"2021-01-05T11:36:00.086308","accountId":12,"programId":32,"participantId":46,"supportWorkerId":null,"status":"In Cart","paymentPlanId":null,"isWaiverAccepted":null,"price":20,"staffNotes":"","customerNotes":"","supportWorker":null,"agencyName":"Agency 10+","couponForShow":null,"paymentPlan":null,"fees":[{"id":16,"isPrimary":true,"isRequired":false,"isQuantityRequired":false,"minQuantity":1,"maxQuantity":1,"minAge":null,"maxAge":null,"order":1,"activateBy":"2021-01-03T12:57:39.229","expirationDate":"2021-01-03T12:57:39.229","generalLedgerAccountId":2,"programId":32,"value":20,"chargeId":2,"charge":{"id":2,"name":"charge1","agencyId":20,"agency":null}},{"id":17,"isPrimary":false,"isRequired":false,"isQuantityRequired":true,"minQuantity":1,"maxQuantity":2,"minAge":null,"maxAge":null,"order":2,"activateBy":"2021-01-03T12:57:39.25","expirationDate":"2021-01-31T00:00:00","generalLedgerAccountId":2,"programId":32,"value":10,"chargeId":1,"charge":{"id":1,"name":"Test Charge","agencyId":20,"agency":null},"quantity":1}],"questionAnswers":[{"id":42,"createdAt":"2021-01-05T11:36:00.086314","modifiedAt":"2021-01-05T11:55:26.568575","createdBy":0,"modifiedBy":0,"questionChoiceId":37,"questionId":16,"cartItemId":172,"orderItemId":null,"value":null,"questionChoice":null,"orderItem":null}],"subPrograms":[],"couponDiscount":0,"optionalFees":[{"id":17,"isPrimary":false,"isRequired":false,"isQuantityRequired":true,"minQuantity":1,"maxQuantity":2,"minAge":null,"maxAge":null,"order":2,"activateBy":"2021-01-03T12:57:39.25","expirationDate":"2021-01-31T00:00:00","generalLedgerAccountId":2,"programId":32,"value":10,"chargeId":1,"charge":{"id":1,"name":"Test Charge","agencyId":20,"agency":null},"quantity":1}],"primaryFees":[{"id":16,"isPrimary":true,"isRequired":false,"isQuantityRequired":false,"minQuantity":1,"maxQuantity":1,"minAge":null,"maxAge":null,"order":1,"activateBy":"2021-01-03T12:57:39.229","expirationDate":"2021-01-03T12:57:39.229","generalLedgerAccountId":2,"programId":32,"value":20,"chargeId":2,"charge":{"id":2,"name":"charge1","agencyId":20,"agency":null}}]}' \
  --compressed
Viewed 284 times, submitted by Guest.