API dialog improvements

Christian Palou
Co-Founder at TheirStack

The API dialog let you get the curl command to call the API from the App. We've made 2 improvements to it:
- Body request now properly supports special characters like apostrophes.
- Displays curl for other requests (exports, technographics, etc.).