code: def favorite_example(self, example_id,
                           url='https://api.shanbay.com/bdc/learning_example/'):
          
          data = {
              'example_id': example_id
          }
          return self._request(url, method='post', data=data).json()
docs: 收藏例句