Actually, I need to get a response of an API call, for that I required Context.
Context
You can use
RuntimeEnvironment.application