Site-www: Tutorial Fetch Data Dynamically - Unable to load data in sandbox. Request is cancelled.

Created on 3 Oct 2019  路  10Comments  路  Source: dart-lang/site-www

I went through the tutorial and found two issues with loading data.

https://dart.dev/tutorials/web/fetch-data#using-getString-function
https://dart.dev/tutorials/web/fetch-data#making-a-get-request

In both cases, the request fails and the data is not loaded. In network monitoring, I see both of those requests as canceled.

image

beginner e0-minutes help wanted p2-medium tutorials

All 10 comments

It looks like we just need to update the gists to change www.dartlang.org to dart.dev. Here's a similar change:

https://github.com/dart-lang/site-www/issues/1800#issuecomment-536180384

Hello @kwalrath
Can I fixed this one?

Yes, please, @wang-ories! oops

Your changes look good, and I've forked them here:

https://gist.github.com/kwalrath/f8aa7310e96d359c5f68343c9ccba8ed

Now you just need to create a PR that embeds f8aa7310e96d359c5f68343c9ccba8ed instead of the current gist.

(Of course, there are two samples that need to be updated.)

PR created - https://github.com/dart-lang/site-www/pull/1971

Regards,
Dhanushu

Oops, @wang-ories, I didn't remember that @dhanushuUzumaki had already started on this.

Could you please pick another bug?

Sorry, @wang-ories I didn't saw the earlier comment.

@kwalrath It is Ok, I will pick another bug .

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ug2454 picture ug2454  路  4Comments

sarahec picture sarahec  路  3Comments

tehsphinx picture tehsphinx  路  3Comments

kwalrath picture kwalrath  路  4Comments

feinstein picture feinstein  路  4Comments