update REST API usage by CURL from console