Chris Webb shows the RelativePath and Query parameters of Web.Contents in M:
Generates a call that returns 20 results, rather than the default 10:
https://data.gov.uk/api/3/action/package_search?q=cows&rows=20
Obviously these options make it easier to construct urls and the code is much clearer, but there are also other benefits to using these options which I’ll cover in another blog post soon.
This makes for a more maintainable, dynamic URL generation. Think about an internal product dashboard, where you might need to make API calls to pull in data by product (or maybe you want to send people to an external link for each product). This can help you parameterize your URLs quite easily.