Pregunta de entrevista de SAP

How would you extend an existing project with command line interactions to have it with a REST interface?