DEV Community

Discussion on: Make fetch better and your API request methods easier to implement

Collapse
 
marcbaumbach profile image
Marc Baumbach

Nice article! The HttpClient in your example code is using "POST" for the the HTTP method when calling the "put" function on it. Great little wrapper around fetch, though. :)

Collapse
 
stroemdev profile image
Simon Ström

Oh! Always good with an extra pair of eyes on your code, thank you :-)