• 
      

    abc

    Review Request #11523 — Created March 14, 2021 and discarded — Latest diff uploaded

    Information

    RBTools
    master

    Reviewers

    [WIP]Add a new command called "api". Add option commands called "--get", "--post", "--delete". "api --get" option can substitute original "api-get" option now.
    
    
    [WIP]Add api.py file, forget to stage this file in the last commit.
    
    
    [WIP]Add "--put" option but still need to find out how to send post/put data. Add "--header" option, still need to find a way to combine our customized header with original data.
    
    
    Refactor methods in api class. Now support use --header option to add customized header in a request.
    
    
    [WIP]Allow basic HTTP GET, DELETE. Allow POST and PUT key value pairs. Still need further testings
    
    
    Remove redundant print statements from api-get.py
    
    
    Fix coding style problems.
    
    
    Fix more coding style problems.
    
    
    Add a newline character.
    
    
    Change create create_cookie_jar function. Edit test_create_cookie_jar. Fix coding style problems. Change improper variable names.
    
    
    Api testing
    12312312312kkk3

    Commits

    Files