티스토리 뷰
try
@app.route(/uri/test)
def test():
~~
flask, get방식의 uri 시도
$ curl /uri/test localhost:8999
Problem
curl : (3) malformed
Cause
The URL was not properly formatted.
Solved
$ curl --get /uri/test localhost:8999
ㅋ
'Python > 환경구축,설정,에러' 카테고리의 다른 글
request.args and request.json -- 삽질 (0) | 2019.06.03 |
---|---|
[Solved]ERROR: Version in "./docker-compose.yml" is unsupported (0) | 2019.05.30 |
[Solved]FileNotFoundError:[Errno 2] No such file or directory: '/mnt/hgfs/jinie/flask_base/run.py (1) | 2019.05.30 |
[Solved]OSError: [Errno 8] Exec format error (0) | 2019.05.29 |
[Solved]AttributeError: 'module' object has no attribute 'SSL_ST_INIT' (0) | 2019.05.29 |