REST API via Command Line