Update e2e_api_python_based_scripting_guide.md

Signed-off-by: Michael Michael <michmike@cs.stanford.edu>
This commit is contained in:
Michael Michael 2020-03-27 10:01:29 -05:00 committed by GitHub
parent d5130b9b26
commit 018469e1a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,10 +47,9 @@ You can add both library code and script code, since not all APIs have been enca
**Execution Example**
```
root@harbor:/harbor/code/harbor# `python ./tests/apitests/python/test_add_sys_label_to_tag.py`
2020-03-11 13:40:07,269 DEBUG Starting new HTTPS connection (1): 1.1.1.1:443
send: 'POST /api/v2.0/users HTTP/1.1\r\nHost: 1.1.1.1\r\nAccept-Encoding: identity\r\nContent-Length: 156\r\nContent-Type: application/json\r\nAccept: application/json\r\nAuthorization: Basic YWRtaW46SGFyYm9yMTIzNDU=\r\nUser-Agent: Swagger-Codegen/1.0.0/python\r\n\r\n{"username": "user-1583934007059", "role_id": 0, "password": "xxxxxxxx", "email": "realname-1583934007059@vmware.com", "realname": "realname-1583934007059"}'
reply: 'HTTP/1.1 201 Created\r\n'
@ -73,3 +72,4 @@ header: Content-Security-Policy: frame-ancestors 'none'
...
```