code: def favorite_note(self, note_id,
                        url='https://api.shanbay.com/bdc/learning_note/'):
          
          data = {
              'note_id': note_id
          }
          return self._request(url, method='post', data=data).json()
docs: 收藏笔记