add new flag to curl for REST API