grlc icon indicating copy to clipboard operation
grlc copied to clipboard

API spec not found or internal server error

Open rlzijdeman opened this issue 3 years ago • 1 comments

Hi, sorry to ask, but I'm doing something wrong and unsure of what.

My query is executable here: https://api.druid.datalegend.net/s/pq0GcPt6j My endpoint is here: https://api.druid.datalegend.net/datasets/AdamNet/all/services/endpoint/sparql My GitHub repo with subdir is here: https://github.com/rlzijdeman/hackalod/tree/master/sparql-queries My call in the browser is this: http://grlc.io/api-git/rlzijdeman/hackalod/subdir/sparql-queries/ But that gives me "No Api definition defined".

When I force the query to be executed in the browser with: http://grlc.io/api-git/rlzijdeman/hackalod/subdir/sparql-queries/adamlink-map-me.sparql I get a 500 internal server error message.

What obvious thing am I missing?

rlzijdeman avatar Apr 07 '22 21:04 rlzijdeman

Hi Richard, perhaps change .sparql in the repo to .rq? Then it works at my repo at least :)

http://grlc.io/api/RubenSchalk/grlc-test#/default/get_zijdeman

and request url: http://grlc.io/api-git/RubenSchalk/grlc-test/zijdeman

RubenSchalk avatar Apr 08 '22 13:04 RubenSchalk