Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/diego-d5000/xmenapi
API test with grails to know if an DNA is mutant
https://github.com/diego-d5000/xmenapi
Last synced: about 2 months ago
JSON representation
API test with grails to know if an DNA is mutant
- Host: GitHub
- URL: https://github.com/diego-d5000/xmenapi
- Owner: diego-d5000
- Created: 2015-10-21T10:51:54.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-21T14:22:32.000Z (about 9 years ago)
- Last Synced: 2024-04-17T13:20:52.401Z (9 months ago)
- Language: Groovy
- Size: 7 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# XmenApi
API test with grails to know if an DNA is mutantexample request:
```
Method: POST
URL: https://mutantdetectorapi.herokuapp.com/analyzer/index
Data-Type: text/json
Data: ' ["ATGCGAA", "CAGTGC", "TTATGT", "AGAAGG", "CCCCTA", "TCACTG"] '
```example python script:
```
>>> import request
>>> import json>>> r = requests.post("https://mutantdetectorapi.herokuapp.com/analyzer/index", json=['AAAA', 'AAAA', 'AAAA', 'AAAA'])
>>> r>>> r.text
'{"results":"true","status":"OK"}'
>>>```