fio10 / microservice-exercise

Microservices Exercise
1 stars 0 forks source link

Create Curl Commands #4

Open fio10 opened 7 months ago

fio10 commented 7 months ago

create curl commands for all the POST / GET methods

fio10 commented 7 months ago

Example:

curl --location --request POST 'http://localhost:1112//rtn/exercise2' \ --header 'Content-Type: application/json' \ --data-raw '{ "msisdn": "123456789",
"type": "TOP_UP", "amount": 25000, "timestamp": "2022-05-01T15:27:00.000+0000", "transactionId": "1010101010" }'