Skip to content

Send SPARQL query in POST body (fix execute_sparql_query)#983

Open
LeMyst wants to merge 1 commit into
masterfrom
change-execute_sparql_query
Open

Send SPARQL query in POST body (fix execute_sparql_query)#983
LeMyst wants to merge 1 commit into
masterfrom
change-execute_sparql_query

Conversation

@LeMyst

@LeMyst LeMyst commented Jun 6, 2026

Copy link
Copy Markdown
Owner

Change execute_sparql_query to send the SPARQL query in the POST body (data) instead of using params. Rename params->body, update debug log to reference body['query'], remove incorrect multipart Content-Type header, and switch helpers_session.post to use data=body. This ensures the query is transmitted as expected to SPARQL endpoints and avoids malformed multipart requests.

Change execute_sparql_query to send the SPARQL query in the POST body (data) instead of using params. Rename params->body, update debug log to reference body['query'], remove incorrect multipart Content-Type header, and switch helpers_session.post to use data=body. This ensures the query is transmitted as expected to SPARQL endpoints and avoids malformed multipart requests.
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

Successfully merging this pull request may close these issues.

1 participant