Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix m.request example on home page #2808

Open
StephanHoyer opened this issue Dec 9, 2022 · 7 comments
Open

Fix m.request example on home page #2808

StephanHoyer opened this issue Dec 9, 2022 · 7 comments
Assignees
Labels
Area: Documentation For anything dealing mainly with the documentation itself Type: Bug For bugs and any other unexpected breakage Type: Release Blocker This should be fixed before the next release

Comments

@StephanHoyer
Copy link
Member

The last Example does not work, I think because of CORS. We should fix that.

@StephanHoyer StephanHoyer added the Type: Bug For bugs and any other unexpected breakage label Dec 9, 2022
@DerFichtl
Copy link

rem-rest-api.herokuapp.com is gone. All ajax examples don't work anymore.

@dead-claudia
Copy link
Member

Can confirm the endpoint is down.

@pygy
Copy link
Member

pygy commented Jan 13, 2023

Thanks for the heads up, it was discussed in the chat, I hadn't seen this issue...

I think Heroku retired the free tier, and Leo understandably let REM disappear.

A possible solution would be to emulate the API using a service worker. If anyone feels like writing that it would be most welcome.

@dead-claudia dead-claudia added the Area: Documentation For anything dealing mainly with the documentation itself label Jan 18, 2023
@pygy pygy added the Type: Release Blocker This should be fixed before the next release label Jan 24, 2023
@pygy
Copy link
Member

pygy commented Jan 24, 2023

There's also a dead link to brick.mozilla.io in .//docs/hyperscript.md

I'm removing these links from the WIP docs for the linter to pass, and mark this bug as critical so that we don't forget fixing it before the release.

@Oneted11
Copy link

In the simple application example it refers to "bin/app.js" which webpack right now generates a "bin/main.js"

I'm halfway through but I am currently using https://jsonplaceholder.typicode.com/users which works for the beginnings but I will probably get issues with POST and such...

It does require changing the user display to fullname instead of first-name + " "+lastname

@dead-claudia
Copy link
Member

@pygy Seems that project was archived years ago: https://github.com/mozbrick/brick (though oddly its subrepos weren't).

@EtiamNullam
Copy link

Would it be fine to use some free public fake API like https://jsonplaceholder.typicode.com for now? Broken example on the main page surely isn't good for bringing new users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Documentation For anything dealing mainly with the documentation itself Type: Bug For bugs and any other unexpected breakage Type: Release Blocker This should be fixed before the next release
Projects
None yet
Development

No branches or pull requests

6 participants