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.