remove trailing whitespace
allow aliases to perform GET operations by not specifying body