1
0
Fork 0

Remove unused GET handling from /echo endpoint

master
Frida Hjelm 3 years ago
parent 51d1eef735
commit 64be5911f5

@ -15,11 +15,6 @@ import java.io.IOException;
public class EchoResource extends BaseResource {
private final static Logger log = LoggerFactory.getLogger(EchoResource.class);
@Get
public Representation respond() {
return new StringRepresentation("Please POST some content to echo.");
}
@Post()
public Representation echo(Representation entity) throws IOException {
return getEchoResponse(entity);

Loading…
Cancel
Save