Fix rest_pastebin example

Return value was changed.