Callout from triggers are currently not supported. As a workaround you can invoke callouts from triggers by encapsulating the callouts in @future methods. To execute callouts in batch apex, the class will also need to implement the Database. AllowsCallouts interface. By default, Salesforce will process 200 records at a time.