I am using Rest API examples to search a page in confluence.
It is working fine when i use my work confluence url but when I use cloud version of confluence, it is failing with below error, error description is not clear.
Traceback (most recent call last):
File "confluence-search-cql.py", line 48, in <module>
search_word(confluence=confluence, word=WORD)
File "confluence-search-cql.py", line 26, in search_word
for answer in answers.get('results'):
AttributeError: 'str' object has no attribute 'get'
Thanks in advance for your help!