Skip to content

프론트엔드에서 json 형태의 데이터가 올바르게 넘어가고 있는지 확인하기 위한 서버입니다.

Notifications You must be signed in to change notification settings

rohsik2/flask_echo_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flask_echo_server

프론트엔드에서 json 형태의 데이터가 올바르게 넘어가고 있는지 확인하기 위한 서버입니다.

how to use

git clone https://github.com/rohsik2/flask_echo_server
cd flask_echo_server
pip3 install -r requirements.txt
python3 ./echo.py

이후 아무 경로로 아무 method를 호출해서 보내시면 됩니다.

request Example

POST /aa HTTP/1.1

{
    "this" : "is json"
}

response Example

{
    "body": "{\n    \"this\" :\"is json\"\n}",
    "method": "POST",
    "path": "aa",
    "request": {
        "this": "is json"
    }
}

About

프론트엔드에서 json 형태의 데이터가 올바르게 넘어가고 있는지 확인하기 위한 서버입니다.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages