Repl Hosting and HTTP requests
How to do? xD
I wanna create an online game and this is the solution ive found but idk how to do it
@CoolJames1610 Ok I am sorry, I cannot really help with python, however, I can explain what HTTP requests and hosting are. Basically HTTP requests are for whenever you want to talk from a client (usually HTML) to a server (could be PHP, Python, node.js, Go, e.t.c). Http requests allow communication between the two, such as getting form data (inputs and such). Hosting is where you have a SQL database in which you store and get info. This is usually stored in data files. Hosting would be good if you want to do something like high scores. There could be a lot of alternatives to SQL because it is tedious and hard to do. However, I recommend you learn a bit about how it works before deciding to do that. Because Python is a backend server, that means you can store files there. If this answers your question, then please mark it as answered.
@Baconman321 Well, hosting is actually just any way you connect a server to the Internet through a domain. For example, Repl.it hosts websites created on Repl.it through repl.co domains. However, it is not always including the server like how in GitHub Pages, you can only host the client-side part. Hosting is really just putting your website on the Internet in some way or another. Also, SQL (Structured Query Language) is a database management tool, but there is also MongoDB, and you could even just create an encrypted JSON file to work as your database. Finally, HTTP stands for HyperText Transfer Protocol and is really just the sending of messages between the client and server using the Internet. However, of course, there are other transfer protocols such as TCP, UDP, SSH, FTP, etc. However, usually HTTP is just a TCP/UDP connection on the web. This is why if you run nmap, it will result in something like "80/tcp" although it is an HTTP port.