Closed renixnahc closed 4 years ago
This is wrong:
body: {
'5ffcd888-e2d0-4604-9dc5-d2a32d9c0227'
}
The body takes an array:
body: [
'5ffcd888-e2d0-4604-9dc5-d2a32d9c0227'
]
Oh okay that works, but it doesn’t really make sense for this one API to work like this. Usually JSON requests are in the form of:
{
"id": [
{
"id1": "...",
"id2": "..."
}
]
}
That’s true, we will consider this as an improvement. Thanks for giving us this kinda feedback! :)
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
cartItemID
from Step 1 to generate an invoice.Expected behavior I expect to see something similar to what’s shown in the documentation, but instead I get an error 500. What am I doing wrong?
Screenshots
Desktop (please complete the following information): Running on MacOS Mojave, using Chrome