Today I have learned Put and Post API in javascript
Put and Post API in javascript: The POST method The POST method sends data to the server and creates a new resource. The resource it creates is subordinate to some other parent resource. When a new resource is POSTed to the parent, the API service will automatically associate the new resource by assigning it an ID (new resource URI). In short, this method is used to create a new data entry. postcall = async () => { const headers = { "Content-Type" : "application/json" , Authorization : `Bearer ${this . state . accesstoken } ` , }; const Checkdata = { email : this . state . email , password : this . state . password , }; const res = await axios . post ( ` ${ ip } /post` , Checkdata , { headers : headers , }) . then (( res...