docs($resource): add example for a custom PUT request

Closes #5302