Back

[CLOSED] Unable to fetch data from json api (but working with demo)

  • 0
  • Flutter
AbdulGhafoor
10 Jul, 2023, 18:26

model for my api

TL;DR
User is experiencing issues fetching data from a JSON API in Flutter. They mention that it is working with a demo but not with their own API. Other users suggest seeking help elsewhere as the issue is unrelated to Appwrite, although the user insists it is related to Flutter. No solution is provided in the thread.
AbdulGhafoor
10 Jul, 2023, 18:27

service for my api

AbdulGhafoor
10 Jul, 2023, 18:28

demo api and model

AbdulGhafoor
10 Jul, 2023, 18:33

Error in terminal Error: XMLHttpRequest error.

AbdulGhafoor
10 Jul, 2023, 18:35

@Core @Moderator

Drake
10 Jul, 2023, 18:39

Please don't tag core or moderator support since it can be very disruptive. It's best to wait for a reply

Drake
10 Jul, 2023, 18:39

How is this related to Appwrite?

AbdulGhafoor
10 Jul, 2023, 18:44

I am very sorry for pinging

AbdulGhafoor
10 Jul, 2023, 18:44

It is related to flutter. As I selected that tag.

Drake
10 Jul, 2023, 18:47

Since this is an Appwrite (https://appwrite.io/) discord server, for general flutter questions, you might find more help in a Flutter discord server (https://flutter.dev/community#community-grid).

Drake
10 Jul, 2023, 18:49

looking at this, though, I can't even tell if your API is set up properly

AbdulGhafoor
10 Jul, 2023, 19:02

I copied that from Google. And it worked fine

AbdulGhafoor
10 Jul, 2023, 19:02

Lemme ask there too

AbdulGhafoor
10 Jul, 2023, 19:02

Thanks for the info

Drake
10 Jul, 2023, 19:20

[CLOSED] Unable to fetch data from json api (but working with demo)

AbdulGhafoor
11 Jul, 2023, 10:45

yo

AbdulGhafoor
11 Jul, 2023, 10:45

not closed

AbdulGhafoor
11 Jul, 2023, 10:45

Unable to fetch data from json api (but working with demo)

Drake
11 Jul, 2023, 14:15

I'm closing this because it would be best to get help elsewhere since this is an Appwrite discord server and your question is unrelated to Appwrite

Drake
11 Jul, 2023, 14:18

I highly suggest you look online for tutorials on how to build a rest API using Dart

AbdulGhafoor
11 Jul, 2023, 15:01

ok

Drake
11 Jul, 2023, 15:54

[CLOSED] Unable to fetch data from json api (but working with demo)

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more