How to Create a Backend for your Snap! Project Using Replit

The error should be fixed by adding return "" to the end of each "command".

Edit: The problem is probably in your code, which looks fine, so maybe fixing the above will work.

Server restarted.

It works now!

You can remove the print function now.

... except for delete...
but that function was only intended for testing!

Delete works fine. (I had to modify my code to make it work.)

where is the modified code?

ok, thanks for the help
(wow >50 replies? my gosh)
Edit: exported the blocks
time to make that thing i was working on!

No problem.

(Yeah...)

Question mark still doesn't work. Could you re-add the print function?

Edit: It's due to something about the browser not realizing the question mark has to be encoded.

But isn't it your own server? You should be able to disable CORS so you don't have to use a proxy.

how do you do it?

the question mark thingy is fine, just use %3F instead

I don’t know. I don’t know Python. Try searching it up.

The problem is that the browser sends ".../??v=..." when I explicitly send ".../%3F?v=...".

You could just use another encoding method.

Like \x3F?

sorry for bump, but can you make it ping snap projects for mqtt servers, like you did with Project: SnapDeveloperFeed, and how do you make it stay up?

???