Ans:
To use a callout in batch Apex, you must specify Database.AllowsCallouts in the class definition. For
example:
global class SearchAndReplace implements Database.Batchable<sObject>,
Database.AllowsCallouts{
//Business logic you want by implementing Batchable interface methods
}
Callouts include HTTP requests as well as methods defined with the webService keyword.