DEV Community

Discussion on: Axios PUT Verb

Collapse
 
denvercoder profile image
Tim Myers • Edited

First of all I said the code is very similar. Meaning that my two code blocks are exactly the same except for

axios.put(

axios.delete(

But thank you SO very much for explaining to me that .put will send an HTTP PUT and .delete will perform an HTTP DELETE.

I really appreciate the fact that you explain basic principles to someone that has been writing software since 1986.

Collapse
 
Sloan, the sloth mascot
Comment deleted
 
denvercoder profile image
Tim Myers

It’s just really shitty when you break down basic concepts to someone that took the time to write a post.

I clearly say that I copy/pasted the two methods and that they are identical except for the line where the verb is. 🤷🏻‍♂️

And then you start in with:

.put() is for an HTTP PUT.

You would think that maybe you would give someone the benefit of the doubt and not just assume that everyone is a moron and so far beneath you that you have to explain basic concepts to them.

Maybe just assume that everyone knows everything that you know. 🤷🏻‍♂️

😏