Please see the following example: https://github.com/arduino-libraries/MKRGSM/blob/master/examples/GsmWebClient/GsmWebClient.ino - you might also be interested in the other examples listed on Github which are also bundled with the MKRGSM library.
Yes, GPRS can operate on both 2G and 3G networks.