Adding get response function to this lib