Post To Beam Connection
Here's a good example of two horizontal beams
that sit properly on a metal bracket, that connects the post to the two
It looks like they even cut the bolts off even with the nut to create a nice finish. This looks nice however is not acceptable with most building departments.
Most building departments require the bolts threads to stick at least two thread lines past the face of the nut. Most people cut the bolts off, not knowing this.