<How can I see the json generated from Ktor?> I wa...
# stackoverflow
u
How can I see the json generated from Ktor? I want to see the json result of the body but I have no idea how, I am recieving a 400 bad request and I am pretty sure the issue comes from "listOf(PostInvoiceResultInsideLineItems("API", 1, furiousInvoice.amount_inc_tax, "1", "FR_200"))" In the API, it needs something like this: "line_items": [ { "label": "API", "quantity": 1, "currency_amount": 2000, "unit": "1", "vat_rate":...