Triply-Dev / YASGUI.YASQE-deprecated

Deprecated, see https://github.com/TriplyDB/Yasgui for the Yasgui monorepo
MIT License
73 stars 36 forks source link

createCurlString doesn't work if queries are sent via the GET method #84

Closed jindrichmynarz closed 8 years ago

jindrichmynarz commented 8 years ago

createCurlString method doesn't work if queries are sent via the GET method because it expects the data attribute of ajaxConfig to be available (see here). However, data is set only if the yasqe.options.sparql.requestMethod is not GET (see here). If the request method is GET, YASQE does its own encoding of the query params into the endpoint's URL (see #78 and here), so data is not provided.

LaurensRietveld commented 8 years ago

A thorough bug report, thanks, I'll take a look

LaurensRietveld commented 8 years ago

I've fixed this issue (together with another CURL related bug #86 ). Released as version 2.10.1