june_ — 12/1/2022, 9:44:39 PM

i need help with the following!!

(context: i want to rewrite the bit talk api, specifically so it doesnt use GET requests that have a user’s password in plain text. thats bad practice)

once i get home ill release the bit talk server code on github, which you can fork and fix my bad code

(done, thx @wynd)

♥ 1 ↩ 0 💬 3 comments

comments

wynd:

app.use(express.json())

app.post(`/`, (req, res) => {

console.log(req.body)

})

// make sure to use content-type: application/json when making requests to this

12/1/2022, 10:02:36 PM
june_:

tysm!!

12/2/2022, 12:35:25 AM
oren:

Bruh use a code block

12/3/2022, 2:24:08 AM