Modify http body using custom capabilities

Can I change api body value using custom capabilities?