Request
Mxdi opened this issue · 1 comments
Mxdi commented
How exactly do you make a request to the app though once its deployed? What would the url be since its no longer local host?
Mxdi commented
Thanks for the response, I figured this out the same day I opened the ticket. Sorry for being dense. Appreciate the reply.
Sent from Mail for Windows 10
From: Edwin Rivera
Sent: Wednesday, April 3, 2019 11:47 AM
To: jesperorb/json-server-heroku
Cc: Medi; Author
Subject: Re: [jesperorb/json-server-heroku] Request (#8)
Hello Mxdi,
All you need to do is set the URL that you were using to access the local database i.e. localhost:3000 to the heroku url ( https://[theprojectname].heroku.com/[your endpoint] ) that you created after deploying your project.
In theory, if you deployed the json-server to heroku correctly, you should be able to access the data from your browser just by visiting the server / URL like ( https://[theprojectname].heroku.com/[your endpoint]). I hope this helps.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.