gdsc-kyutech / 2024-CC-A

Google Developer Student Club - Kyutech Chapter - 2024 Solution Challenge TeamA
0 stars 0 forks source link

back; ping #11

Closed mio256 closed 8 months ago

mio256 commented 8 months ago

https://ogen.dev/

mio256 commented 8 months ago
mio256@mio256: ~/2024-CC-A/back back/ping!
$ python3                                                                           [11:17:28]
Python 3.11.7 (main, Dec  4 2023, 18:10:11) [Clang 15.0.0 (clang-1500.1.0.2.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
>>> baseurl = 'http://localhost:8080'
>>> requests.get(baseurl+'/ping')
<Response [200]>
>>> requests.get(baseurl+'/ping').content
b'{"content":"pong"}'