ApiLogicServer-src
ApiLogicServer-src copied to clipboard
ApiLogicServer curl fails on windows
Some commands fail to parse payload data, eg
ApiLogicServer curl "'POST' 'http://localhost:5656/api/ServicesEndPoint/OrderB2B'" --data '
{"meta": {"args": {"order": {
"Account": "Jane Smith",
"Notes": "Please Rush",
"Items": [
{
"ProductName": "Widget A",
"QuantityOrdered": 1
},
{
"ProductName": "Gadget B",
"QuantityOrdered": 2
},
{
"ProductName": "Gadget B",
"QuantityOrdered": 2
}
]
}
}}}'
See payloads like:
{meta: {args: {order: {
Account: Jane'