How do I switch the Replit Database instructions from Curl to Javascript?

Question:
How do I switch the Replit Database instructions from Curl to Javascript?
I don’t know curl, I know how to use javascript and I wrote my ReplitDB library in Javascript. However I am getting an error and I cannot easily reference the syntax of a set request. The repl doesn’t give me the option to pick the syntax I want to use, it just changes to curl with no explanation.

Repl link/Link to where the bug appears:
https://replit.com/@GeorgeSchafer/MoodDB
Database link

Screenshots, links, or other helpful context:
image

Hey @GeorgeSchafer!

If you have the Database tab open in a separate pane, you can click another file then into a JS file which the Database tab will then switch to JS from Curl.

2 Likes

That worked! Thank you Shane. It would be very helpful for that info to be on that page for anybody else who runs into the issue.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.