Added Server Conditional

added conditional to request method