View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007612 | Taler | mechant backend | public | 2023-01-27 14:30 | 2024-01-12 14:04 |
Reporter | sebasjm | Assigned To | Christian Grothoff | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | won't fix | ||
Product Version | git (master) | ||||
Target Version | 0.9.2 | Fixed in Version | 0.9.2 | ||
Summary | 0007612: if amount and summary is given, payload to use the template should be optional | ||||
Description | Let say I have a template with id 'beer' with amount and summary This works curl -X POST https://merchant-backend.taler.ar/instances/default/templates/beer -d '{}' But this not curl -X POST https://merchant-backend.taler.ar/instances/default/templates/beer Server log WARNING Failed to parse JSON request body of 0 byte at offset 0: '[' or '{' expected near end of file | ||||
Tags | No tags attached. | ||||
|
I disagree, getting POSTs without bodies to work in the exchange would be excessively messy, and sending "{}" is hardly an issue for the client. The API spec also doesn't say that the body is optional. |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-01-27 14:30 | sebasjm | New Issue | |
2023-01-27 14:30 | sebasjm | Status | new => assigned |
2023-01-27 14:30 | sebasjm | Assigned To | => Priscilla Huang |
2023-02-03 10:50 | Christian Grothoff | Target Version | git (master) => 0.9.2 |
2023-02-17 17:55 | Florian Dold | Target Version | 0.9.2 => 0.9.3 |
2023-02-19 10:41 | Christian Grothoff | Note Added: 0019877 | |
2023-02-19 10:41 | Christian Grothoff | Assigned To | Priscilla Huang => Christian Grothoff |
2023-02-19 10:41 | Christian Grothoff | Status | assigned => closed |
2023-02-19 10:41 | Christian Grothoff | Resolution | open => won't fix |
2023-02-19 10:41 | Christian Grothoff | Fixed in Version | => 0.9.2 |
2023-02-19 10:41 | Christian Grothoff | Target Version | 0.9.3 => 0.9.2 |
2024-01-12 14:04 | Christian Grothoff | Category | merchant backend API (C) => mechant backend |