codegeekjk commented on issue #15530: URL: https://github.com/apache/superset/issues/15530#issuecomment-873122271
As a work around I am trying to update via API call : I made an api call: Login to SuperSet ``` curl --location --request POST 'http://IP:8088/api/v1/security/login' --header 'Content-Type: application/json' --header 'Cookie: session=eyJfZnJlc2giOmZhbHNlLCJsb2NhbGUiOiJlbiJ9.YN83EQ.OPkQyIQENbtCgKEF65dn08cl7uc' --data-raw '{"password":"admin","username":"admin","refresh":"True","provider":"db" }' ``` Then Fetch the dataset using ID ``` curl --location --request GET 'IP:8088/api/v1/dataset/67' --header 'Content-Type: application/json' --header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2MjUyNDE1NTQsIm5iZiI6MTYyNTI0MTU1NCwianRpIjoiZWQ5NjE4YzUtYjBiNC00ZWYwLWJhZTEtOTUxY2Y3OTJjYmM0IiwiZXhwIjoxNjI1MjQyNDU0LCJpZGVudGl0eSI6MSwiZnJlc2giOnRydWUsInR5cGUiOiJhY2Nlc3MifQ.DLg5z58DbOfBY-nkvRY30_92RZIzcpn4JzoQmuyWZX0' \ ``` Now I am not sure how to update the dataset owner and what request to send when I am using the PUT I am getting this error: The CSRF token is missing. Any Help here how to update via API call ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
