Compare commits

..

1 Commits

Author SHA1 Message Date
coolneng 2b280e2bdf
Update README 2021-07-07 00:05:12 +02:00
1 changed files with 3 additions and 9 deletions

View File

@ -85,7 +85,7 @@ A trained model is provided, which can be used to infer the correct sequences. T
The following command will infer the correct sequence, and print it:
```bash
poetry run python src/main.py infer "<DNA sequence>"
poetry run python src/main.py infer "<dna sequence>"
```
#### REST API
@ -100,12 +100,6 @@ The API can be accessed at http://localhost:8000, with either a GET or POST requ
| Request | Endpoint | Payload |
|:----:|:-----:|:-----:|
| GET | / | Sequence as a path parameter (in the URL) |
| POST | /| JSON |
For a POST request the JSON must have the following structure:
```json
{"sequence": "<DNA sequence>"}
```
| GET | /<sequence> | Sequence as a path parameter |
| POST | /| JSON: {"sequence": "<sequence>"} |