What does run in browser mean in replit

for Serve JSON on a Specific Route

sorry may sound silly - does this literally mean in my browser window? because i cant seem to edit the replit browser url

Serve the object {"message": "Hello json"} as a response, in JSON format, to GET requests to the /json route. Then point your browser to your-app-url/json , you should see the message on the screen.

if you take the live app url above the preview and paste it in the browser bar and add /json at the end of it you should see it

1 Like