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

103
Views
How do you use axios post requests?

I am trying to use the post request and I am having trouble. https://users.roblox.com/docs#!/Users/post_v1_usernames_users When I do stuffs.data I get undefined. WHat is the correct way to add data to a post request? I have tried looking it up just I don't get anything useful

 const data2 = {
            "usernames": [
              username
            ],
            "excludeBannedUsers": true
          }

const stuffs = axios({
            method: 'post',
            url: 'https://users.roblox.com/v1/usernames/users',
            data: data2
        })

Solved: It ended up being I did the await in the wrong spot, when I changed it it was able to return a value.

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!