First Python script
- learn what is api
- Jailbreak pycharm
- install requests on pycharm
- write first request: get, post
- MFA login: need to parameter mechanismId and SessionId
- know how to check response, (json.cn),
- know some data type and operate them (list, dict...)
- Cannot create role using Post, need to replace resopnd to session (sth about session...)
- paramater some values that would change
- write method into different file
- write class: login, create role
- write main method and the define parameters
finally, thanks Zoe very much, yeah, long way, i still need to good good study...