I find that router pages seem interesting. If I want to create a url pattern like below and make a router page with code answer to that.
I just created a new router with prefix /members/ and the path will hold profile, so far so good.
I want to post dataa from another site to this router page and get the body posted. Is this possible?
In your docs you write ”Although you can use static data with a router, typically you would use data from your site's database or an external source. We'll see where you would write code to retrieve that data a little later.”
How can I get connection to my datasets from the router.js file?
If I want my router to send back a response code 200 and a json formatted message, is this doable?