You would usually get "shots" for interdermal testing, but most food allergys are not treated with "shots".
They are treated with avoidance and oral drops. But the type of testing depends on the allergists. Some allergists use blood tests, others may use challange tests, which others may use interdermal testing. All are accepted methods of diagnosis.