Delete char (not working) and further genericify API requests