You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/01/12 08:30:31 UTC

[GitHub] [superset] zhaoyongjie commented on pull request #17882: feat: Adds a key-value endpoint to store charts form data

zhaoyongjie commented on pull request #17882:
URL: https://github.com/apache/superset/pull/17882#issuecomment-1010770758


   I can create the same cache of form_data and not any limitation. Is it by design?
   
   ```
   (superset) yongjie.zhao@:incubator-superset$ curl -X POST -H 'Content-Type: application/json' -H 'Cookie:session=.eJwlzj0KwzAMQOG7eM5gxfqxcpmgyBIthBaSdiq9ewMd3_Dg-5Q1jzhvZXkd75jKeh9lKZRaKwzrTZqwNFLpCICpjW2g9IrKie45gKNal7FF54qREaFkXa02bbCpOdRtI2XEWYnAwYnSAVWDgdhchVoky4x4XeKdokxlf7rtcVnicdX7jONPg_L9AbBAMcM.Yd6Lqg.ledswymBNn4TYu5P1RFZa2aBHdM' http://localhost:8088/api/v1/chart/136/form_data -d '{"value":"value"}'
   {
     "key": "Aizj7D6fCBON66EM27y7CKr949npDgJtUVuc2P2oED1HL685P_JhSF-RflTSCL1K"
   }
   (superset) yongjie.zhao@:incubator-superset$
   (superset) yongjie.zhao@:incubator-superset$ curl -X POST -H 'Content-Type: application/json' -H 'Cookie:session=.eJwlzj0KwzAMQOG7eM5gxfqxcpmgyBIthBaSdiq9ewMd3_Dg-5Q1jzhvZXkd75jKeh9lKZRaKwzrTZqwNFLpCICpjW2g9IrKie45gKNal7FF54qREaFkXa02bbCpOdRtI2XEWYnAwYnSAVWDgdhchVoky4x4XeKdokxlf7rtcVnicdX7jONPg_L9AbBAMcM.Yd6Lqg.ledswymBNn4TYu5P1RFZa2aBHdM' http://localhost:8088/api/v1/chart/136/form_data -d '{"value":"value"}'
   {
     "key": "ldjp_mdBTpUTS52eIyJfFbdXhUWZitBhFoKXghukr24Ba51PaLg5nRsiESSvE9mT"
   }
   (superset) yongjie.zhao@:incubator-superset$
   (superset) yongjie.zhao@:incubator-superset$ curl -X POST -H 'Content-Type: application/json' -H 'Cookie:session=.eJwlzj0KwzAMQOG7eM5gxfqxcpmgyBIthBaSdiq9ewMd3_Dg-5Q1jzhvZXkd75jKeh9lKZRaKwzrTZqwNFLpCICpjW2g9IrKie45gKNal7FF54qREaFkXa02bbCpOdRtI2XEWYnAwYnSAVWDgdhchVoky4x4XeKdokxlf7rtcVnicdX7jONPg_L9AbBAMcM.Yd6Lqg.ledswymBNn4TYu5P1RFZa2aBHdM' http://localhost:8088/api/v1/chart/136/form_data -d '{"value":"value"}'
   {
     "key": "KQhGwEI7GR2CmjFfDo5jBAKoydaN5RdOXbEUwf43VVhT6HX5I_xjr-arDj8gljAc"
   }
   (superset) yongjie.zhao@:incubator-superset$
   (superset) yongjie.zhao@:incubator-superset$ curl -H 'Cookie:session=.eJwlzj0KwzAMQOG7eM5gxfqxcpmgyBIthBaSdiq9ewMd3_Dg-5Q1jzhvZXkd75jKeh9lKZRaKwzrTZqwNFLpCICpjW2g9IrKie45gKNal7FF54qREaFkXa02bbCpOdRtI2XEWYnAwYnSAVWDgdhchVoky4x4XeKdokxlf7rtcVnicdX7jONPg_L9AbBAMcM.Yd6Lqg.ledswymBNn4TYu5P1RFZa2aBHdM' http://localhost:8088/api/v1/chart/136/form_data/Aizj7D6fCBON66EM27y7CKr949npDgJtUVuc2P2oED1HL685P_JhSF-RflTSCL1K
   {
     "value": "value"
   }
   (superset) yongjie.zhao@:incubator-superset$
   (superset) yongjie.zhao@:incubator-superset$ curl -H 'Cookie:session=.eJwlzj0KwzAMQOG7eM5gxfqxcpmgyBIthBaSdiq9ewMd3_Dg-5Q1jzhvZXkd75jKeh9lKZRaKwzrTZqwNFLpCICpjW2g9IrKie45gKNal7FF54qREaFkXa02bbCpOdRtI2XEWYnAwYnSAVWDgdhchVoky4x4XeKdokxlf7rtcVnicdX7jONPg_L9AbBAMcM.Yd6Lqg.ledswymBNn4TYu5P1RFZa2aBHdM' http://localhost:8088/api/v1/chart/136/form_data/ldjp_mdBTpUTS52eIyJfFbdXhUWZitBhFoKXghukr24Ba51PaLg5nRsiESSvE9mT
   {
     "value": "value"
   }
   (superset) yongjie.zhao@:incubator-superset$
   (superset) yongjie.zhao@:incubator-superset$ curl -H 'Cookie:session=.eJwlzj0KwzAMQOG7eM5gxfqxcpmgyBIthBaSdiq9ewMd3_Dg-5Q1jzhvZXkd75jKeh9lKZRaKwzrTZqwNFLpCICpjW2g9IrKie45gKNal7FF54qREaFkXa02bbCpOdRtI2XEWYnAwYnSAVWDgdhchVoky4x4XeKdokxlf7rtcVnicdX7jONPg_L9AbBAMcM.Yd6Lqg.ledswymBNn4TYu5P1RFZa2aBHdM' http://localhost:8088/api/v1/chart/136/form_data/KQhGwEI7GR2CmjFfDo5jBAKoydaN5RdOXbEUwf43VVhT6HX5I_xjr-arDj8gljAc
   {
     "value": "value"
   }
   ```


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org