ApiLogicServer-src icon indicating copy to clipboard operation
ApiLogicServer-src copied to clipboard

ApiLogicServer curl fails on windows

Open valhuber opened this issue 1 year ago • 0 comments

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'

valhuber avatar Jan 30 '24 16:01 valhuber