Skip to content

ApiLogicServer curl fails on windows #36

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
valhuber opened this issue Jan 30, 2024 · 0 comments
Open

ApiLogicServer curl fails on windows #36

valhuber opened this issue Jan 30, 2024 · 0 comments
Assignees

Comments

@valhuber
Copy link
Contributor

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 valhuber self-assigned this Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant