https://github.com/msisdev/po-server
Resource for KNU Security class
https://github.com/msisdev/po-server
Last synced: 8 months ago
JSON representation
Resource for KNU Security class
- Host: GitHub
- URL: https://github.com/msisdev/po-server
- Owner: msisdev
- Created: 2023-11-06T10:18:17.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-09T05:53:48.000Z (over 2 years ago)
- Last Synced: 2024-12-24T15:28:27.583Z (over 1 year ago)
- Language: Java
- Size: 1000 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# po-server
Resource for KNU Security class
## Quick start
```
$ git clone https://github.com/boxcolli/po-server.git
$ cd po-server-java
$ docker build -t po-server .
$ docker run -p 8080:8080 po-server
```
## HTTP API
브라우저로 확인할 수 있습니다.
### Ping
```
URL: http://localhost:/ping
Response body: pong
```
### Query
```
URL: http://localhost:/query?str1=&str2=
Response body: true or false
```
True 예시
```
http://localhost:/query?str1=0x1234567890abcd93&str2=0x1234567890abcdb9
Response body: true
```