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

265
Views
Convert Object Promise to String in Javascript from AWS

I'm using this code to try and get the clients IP address, but I just can't seem to figure out how to convert it into a string. Many other questions are all about .json but this is a simple string from AWS. Here is my code, how do I convert into string?

function getIPFromAmazon() {
    return(fetch("https://checkip.amazonaws.com/"));
}

(this just returns "Object Promise")

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!