**Given the [Asgardians][1] superior technology, (they are [aliens, not gods][2]) resisting bullets seems almost child's play.** 

In Loki's case, he most likely used a defensive "spell" to protect himself. Loki, despite his being only a fraction as strong as Thor, physically, seemed quite damage-resistant and was able to survive a [physical confrontation with the Hulk][3]. The average Asgardian may not be in Superman's league for overall damage resistance, but human handheld weaponry holds no fear for them. The Asgardians are tough, strong and more than a match for any conventionally-armed team of humans.

In the comics, there is some debate as to whether the Asgardians are truly bullet-proof or does their armor protect them, but for the most part, anyone able to claim three times human density in their skin and muscle fibers, superhuman strength on the order of being able to lift at least 10 tons (average Asgardian), most of the well-known can lift significantly more, and wearing armor crafted by an dwarven-smith, should not have to worry too much about bullets or small arms.


  [1]: http://scifi.stackexchange.com/a/17573/2765
  [2]: http://scifi.stackexchange.com/questions/16783/how-long-do-asgardians-live-for
  [3]: http://www.youtube.com/watch?v=ZjK9CSZwx4w