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

181
Views
How connect api in subdomain on React

I have json file, for example. In localhost I started json server to start it json. And through fetch connect. if that's all on do in REACT

{
  "films": [
    {
      "poster": "https://thumbs.filmix.ac/posters/4925/thumbs/w220/vypusknoy-klass-2022_158825.jpg",
      "image": "https://filmix.ac/uploads/frames/158434/f350076-novi-4w-zateryannyy-gorod-2022_original.jpg",
      "rating": "6.2",
      "year": "2022",
      "id": "Graduate-class-2022"
    }...

So now a question: I have hosting and I want to create a subdomain where only json will be stored, can you tell me how to connect json then? Can I just connect (although I tried it didn’t work) or do I need to write a server on a separate domain?

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!