How do I add key, value entries to my Cloudflare Workers KV in javascript?

In my index.js file, I'm trying to do await MY_cloudflare_workerKV_name.put("organizationData", "test"); // Store in KV but it's generating an error and not allowing me to do so. Is this syntax right? Is there anything I'm missing?
2 Replies
Cyb3r-Jak3
Cyb3r-Jak37mo ago
What error are you getting?
John
John7mo ago
This is the bad response I'm getting in Postman^. I'm not sure how else I could debug/view the outputs