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

"Accept: application/json" to window.shexLoader.load #81

Open
scenaristeur opened this issue Sep 4, 2020 · 0 comments
Open

"Accept: application/json" to window.shexLoader.load #81

scenaristeur opened this issue Sep 4, 2020 · 0 comments

Comments

@scenaristeur
Copy link

Hi,
I'd like to build forms from .shex shape in https://scenaristeur.github.io/solid-vue-panes/editor

I use shexLoader.load like that https://github.com/scenaristeur/solid-vue-panes/blob/a5886ed69ca6f72b76981be8bb1dc5f34d6ea213/src/mixins/crud/ShexMixin.js#L16

I would like to allow Shaperepo shapes too like https://shaperepo.com/shapes?id=https%3A%2F%2Fshaperepo.com%2Fschemas%2FlongChat

As @jaxoncreed indicates
image

so, i should add "Accept: application/json" to "window.shexLoader.load([shape_url], [], [], []).then(loaded => {"

could you indicate me what is the way to add "Accept" to shexLoader.lod() function
THxs

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