How to read WP REST API response body in JavaScript

I’ve been playing with WordPress REST APIs lately and found out that very little information is available about default endpoints and even less: about modifying them or creating you own. Especially when it comes to adding things in you DB and working with REST API responses afterwards.