Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

500 on #3

Open
kurzum opened this issue Jun 7, 2024 · 0 comments
Open

500 on #3

kurzum opened this issue Jun 7, 2024 · 0 comments

Comments

@kurzum
Copy link
Member

kurzum commented Jun 7, 2024

Tested:

curl -X POST "https://dev.moss.dbpedia.org/api/save?repo=databus.dbpedia.org&path=kurzum/provider.example.com/dataset1/2018.03.11/test.jsonld" -H "Content-Type: application/ld+json" -d '{
    "@context" : "https://raw.githubusercontent.com/dbpedia/databus-moss/dev/devenv/context2.jsonld",
    "@id" : "https://databus.dbpedia.org/kurzum/provider.example.com/dataset1/2018.03.11",
    "isExtendedBy" :  {
        "@id" : "#layer",
        "@type" : "DatabusMetadataLayer",
        "layerName": "simple",
        "created" : "2024-03-01 14:37:32"
    },
     "subject" : [ "oeo:OEO_00020033" ]
}' -i

with a layer mismatch test.jsonld vs simple and it went through

I also submitted invalid JSON accidently and received a 500

It's natural that these are not done yet, I submitted them, because they could be good test cases for development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant