Wrapper for curl to save complex commands and save them in profiles. Useful for testing APIs.