macOS: How to open a local HTML file with URL parameters

Solution 1:

open just handles files, it doesn't know about GET parameters. So the AppleScript approach is probably the way to go here:

osascript -e 'tell application "Google Chrome" to 
    open location "file:///Users/YOU/path/to.html?foo=bar"'