Requests not available
I run
from postpython.core import PostPython
runner = PostPython('test1.json')
runner.RequestMethods.help()
response
Traceback (most recent call last):
File "C:\Python\Python36-32\lib\site-packages\IPython\core\interactiveshell.py", line 2910, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-18-76c0bbfcceaf>", line 1, in <module>
runner.RequestMethods.help()
File "C:\Python\Python36-32\lib\site-packages\postpython\core.py", line 52, in __getattr__
similar = difflib.get_close_matches(item, self.__folders)[0]
IndexError: list index out of range
@sayr777, Would you please send me test1.json as well?
i run with V1 but still giving same error
from postpython.core import PostPython runner = PostPython('/Users/naveen.gedela/Desktop/Demo_APi.postman_collection.json') response = runner.DemoApi.get_request() print(response.json())
/usr/local/bin/python3.6 /Users/naveen.gedela/IdeaProjects/PostPython/Test.py
Traceback (most recent call last):
File "/Users/naveen.gedela/IdeaProjects/PostPython/Test.py", line 4, in
It's Json file but when i do upload it's not supporting by github changed to Docx Demo_APi.postman_collection.docx
It's Folder of my collection
