api call

  axios.post(`https://newstaging.vidalhealth.com:7743/api/hospital-app/save_blood_pressure_data/`, fd, 

{ headers: { Authorization: 'Token ' + 580db9645bcfe0d515a5de161d4c8e1e34c4c125 } })

            .then(response => {

               

                let json = response.data;

                console.log(json.SUCCESS) 

                })

            .catch(error => {

                console.log(error)


            })

Comments

Popular posts from this blog

interview questions js[ Anurag Singh ProCodrr]

reactnative_creation