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

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Merge XDG project changes in local branch into local master
13e4b1d3a98ebb31a701b4c80c457da035d050c0 Qianxi Li
[WIP]Add a new command called "api". Add option commands called "--get", "--p...
f5d08321dbf89a392a282e30b1cc4eba4f0d406e Qianxi Li
[WIP]Add api.py file, forget to stage this file in the last commit.
39de827276ea422dea3fc1f630d35c17f415ab9c Qianxi Li
[WIP]Add "--put" option but still need to find out how to send post/put data....
9300eb1518e3b078f03aeb388b7f91821e915c7f Qianxi Li
Refactor methods in api class. Now support use --header option to add customi...
604bed2b22deb3145dcf7339753bd2096d9d8889 Qianxi Li
[WIP]Allow basic HTTP GET, DELETE. Allow POST and PUT key value pairs. Still ...
f12ccfbf6346c75a934fdf6e70ee37c6e5c38702 Qianxi Li
Remove redundant print statements from api-get.py
dc104eaacfc259f3466e0c0cf14982ccc21da57e Qianxi Li
Fix coding style problems.
dc4fcf3ccc29f5d6ab8243ade250c9ff830730e9 Qianxi Li
Fix more coding style problems.
027ac7cc1ef765176d3c8a98c8fa09e9295a4378 Qianxi Li
Add a newline character.
3058676f474918449c806faea1fe1787e168e659 Qianxi Li
Change create create_cookie_jar function. Edit test_create_cookie_jar. Fix co...
44efa2f7a4d647cba179c40223fa31685614cd15 Qianxi Li
Api testing
e5c49dad1d97276dbe9e4a21edb136e7984ee54e Qianxi Li
.DS_Store
setup.py
contrib/tools/git-hook-check-approval
rbtools/.DS_Store
rbtools/api/client.py
rbtools/api/request.py
rbtools/api/tests/test_http_request.py
rbtools/api/transport/sync.py
rbtools/commands/.DS_Store
rbtools/commands/__init__.py
rbtools/commands/api.py
rbtools/commands/api_get.py
rbtools/commands/main.py
rbtools/commands/setup_repo.py
rbtools/commands/tests/test_setup_repo.py
rbtools/utils/filesystem.py
Loading...