ziy / skr-webapi Goto Github PK
View Code? Open in Web Editor NEWJava-based API to the Semantic Knowledge Representation (SKR) Scheduler facility http://ii.nlm.nih.gov/Web_API/index.shtml
Java-based API to the Semantic Knowledge Representation (SKR) Scheduler facility http://ii.nlm.nih.gov/Web_API/index.shtml
Hi,
We are using MetaMap WebAPI v2_3 (https://ii.nlm.nih.gov/Web_API/index.shtml). We are not able to access the APIs as one of the steps in the Web API flow is not working. We are getting 400 bad request from the getServiceTicket API (https://utslogin.nlm.nih.gov/cas/v1/tickets/TGT-2881-WImAhLaQz67BY0e7gEXbxYDfbReOajSiV2939oxtUngrAuViXM-cas). The credentials provided are correct. We are getting error saying "Bad service" for the API call.
Below is the metamap service URL being used:
https://ii.nlm.nih.gov/cgi-bin/II/UTS_Required/API_MM_interactive.pl
The same issue is being seen for the below service URL also:
https://ii.nlm.nih.gov/cgi-bin/II/UTS_Required/API_SR_interactive.pl
Can you please help us out in resolving the same.
Thanks.
We also tried in postman through rest client but same error:
curl -X POST
https://utslogin.nlm.nih.gov/cas/v1/tickets
-H 'content-type: application/x-www-form-urlencoded'
-d 'username=&password='
We get grant ticket as expected.
curl -X POST
https://utslogin.nlm.nih.gov/cas/v1/tickets/TGT-5173-NVWM2ya6OdPfYRxy5x7IAGeHcjFIbHUAAonOEfgCxYJTCBu30t-cas
-H 'content-type: application/x-www-form-urlencoded'
-d service=https%3A%2F%2Fii.nlm.nih.gov%2Fcgi-bin%2FII%2FUTS_Required%2FAPI_MM_interactive.pl
Below error will be seen with HTTP 400 response (removed HTML tags, as ticketing system does not allow):
bad service name: https://ii.nlm.nih.gov/cgi-bin/II/UTS_Required/API_MM_interactive.pl
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.