Base64encode params in list view
Is there anyway I could Base64encode params in URL in the list view would need to be automatically encoded and decoded
2 Replies
Hi @Matt. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Hmm, I don't know enough to give you a confident answer yet. However, you can swizzle your data provider and remove query parameters in the list method as mentioned in this Discord support thread (https://discord.com/channels/837692625737613362/1225270555909816361).
For more information on how to handle Base64 encoding in Refine, you can refer to these examples:
- Base64 upload with Ant Design (https://github.com/refinedev/refine/tree/master/examples/upload-antd-base64)
- Base64 upload with Material UI (https://github.com/refinedev/refine/tree/master/examples/upload-material-ui-base64)
These examples demonstrate how to handle Base64 encoding in Refine, and you might be able to adapt these methods to encode and decode URL parameters.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
<@480113761881948183> kapa.ai is still learning and improving, please let us know how it did by reacting below