DEV Community

Muhəmməd Zeynallı
Muhəmməd Zeynallı

Posted on

The online server(database) almost free!

The My Server is free if you're Cloudflare KV limit isn't end!

  1. Create a server: https://kv.really1.workers.dev?create&name=myserver&text=Hello
  2. Then if you open https://kv.really1.workers.dev/myserver in your or other's computer, this's will show a "Hello" text!
  3. If you want, you're can change response params with json param. Its syntax is a Cloudflare Worker syntax. But you need to encode this JSON to URL syntax, because the URL can't normal parse a {} and other symbols. Example:
encodeURIComponent("{headers: {'Access-Control-Allow-Origin': '*'}")
Enter fullscreen mode Exit fullscreen mode
  1. This's shows a button with API key. COPY IT AND NOT LOSE IT! Because this's important when you will change or remove the server.
  2. To change a info, use the change parameter. Example: https://kv.really1.workers.dev?change?name=myserver?text=newtext?api=YOUR_API_KEY
  3. To remove, use a delete parameter. Example: https://kv.really1.workers.dev?delete?name=myserver?api=YOUR_API_KEY

This's very cool! Yes, this's limited when a KV limit is ending, but this's possible free server!

Top comments (0)