loud-glass-33663
08/29/2021, 10:24 AMbody of the request. It is always: {}
(I am using nodejs + express).
I am wondering if it is working like it is supposed to or if I am doing something wrong.
(I have tried making trial card purchases and even real purchases, but not getting any data sent over). Thanks.helpful-raincoat-87337
08/29/2021, 11:58 AMbitter-salesclerk-57109
08/29/2021, 12:10 PMhelpful-raincoat-87337
08/29/2021, 12:16 PMloud-glass-33663
08/29/2021, 12:18 PMJSON payload — but I feel it might be a form payload.
Will update in a bit once I have tested.loud-glass-33663
08/29/2021, 12:22 PMform vs json payload.
It was form and adding the
app.use(express.urlencoded())
enables your API to handle form input.
Thanks again @helpful-raincoat-87337 @bitter-salesclerk-57109 🙌bitter-salesclerk-57109
08/29/2021, 12:23 PMloud-glass-33663
08/29/2021, 12:25 PMbitter-salesclerk-57109
08/29/2021, 12:25 PM