added working curl with other REST API