ApiLogicServer / ApiLogicServer-src

Create an executable project (API and Admin App) from a database or natural language prompt with 1 command, customize with declarative rules and Python in your IDE, containerize and deploy.
https://apilogicserver.github.io/Docs/
BSD 3-Clause "New" or "Revised" License
30 stars 5 forks source link

ApiLogicServer curl fails on windows #36

Open valhuber opened 9 months ago

valhuber commented 9 months ago

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'