News for hackers. Stuff that matters.
Re:Modern Node.js Patterns by rendall on Sunday August 03, 2025 @07:28PM (#44780715)
That's a category error. Fetch is just refers to making a request. POST is the method or the HTTP verb used when making the request. If you're really keen, you could roll your own

  const post = (url) => fetch(url, {method:"POST"})
Re:Modern Node.js Patterns by catlifeonmars on Sunday August 03, 2025 @07:44PM (#44780808)
I read this as OP commenting on the double meaning of the category. In English, “fetch” is a synonym of “GET”, so it’s silly that “fetch” as a category is independent of the HTTP method
Re:Modern Node.js Patterns by rendall on Sunday August 03, 2025 @10:04PM (#44781491)
That makes sense.