curl --location 'http://127.0.0.1:8000/tickers' \
--header 'Accept: application/json' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Basic TWlyYWUyMDI0OmhfQDI0QXMjamdk' \
--header 'Cookie: miraeasset_session=eyJpdiI6InhnWUFpeVBQM0tOMXhXOGd0WVlLUnc9PSIsInZhbHVlIjoiRnRWcXVxWis1Z1NzSkRnMC8wcGU5TG9JcEtrYTZUL3IrakRtanV3TFhteHUwL201Vmg4RmdENE1nckJMaTI2VmhyUFQzNENMWnIzdyt6d0RaWXVIUzNza0E1WDB6VHU4MjZSZlFtNWFQZWlUY1lFcU5aRHlpbVlvTFY3c01WRzkiLCJtYWMiOiI1Mzc5OWNkY2MyNzI3YzQyNzNmN2Y2MTAyNzI1MDBkMjJlYzEyMTUwZDgzZmYwMjhmMzcyNTVkZTNjNWZlNDZmIiwidGFnIjoiIn0%3D' \
--data-urlencode 'symbol=AAPL-USD' \
--data-urlencode 'last_price=175'
{
"code": 200,
"message": "Success",
"ticker": {
"id": 2,
"exchange_id": null,
"pair_id": "1",
"last_price": "175",
"symbol": "AAPL-USD",
"updated_at": "2024-04-03 08:54:55",
"created_at": "2024-04-03 08:54:45",
"mark_price": "175"
}
}
{
"code": 200,
"message": "Success",
"ticker": {
...
}
}
{
"code": 401,
"success": false,
"message": "Unauthenticated."
}