Skip to content

CORS Pre-flight OPTIONS request #35

@dschep

Description

@dschep

Hi! When I initially added SPARQL support to Ultra, I used POST requests sending the query as the body and a Content-Type: application/sparql-query header. This works great with the Wikidata Query Service and QLever.

This is a valid means of calling SPARQL per the protocol: https://www.w3.org/TR/sparql11-protocol/#query-operation

Sophox also works with this invocation method when using curl, however it doesn't work in the browser because Sophox doesn't support CORS Preflight requests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions