Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

98
Views
Read a functions response from other page

I have a function SaveData which is basically an API request.

export function SaveData(data, initialState) {
    try {
        axios.post("http://192.168.1.17:85/DevAPINew/API/" + initialState.SaveUrl, data[0])
            .then(response => console.log(response))
    }
    catch (error) {
        console.log(error);
    }
}

I am calling this function in another page. How can i read the response from another page

SaveData(data, initialState)

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!