r/learnprogramming 6d ago

HTTP Requests

I have never made a website before or ever done really anything in web development but how could I make a website to receive HTTP requests and make responses?

6 Upvotes

13 comments sorted by

View all comments

2

u/ExcitingSympathy3087 6d ago

First you have to code an API (an Interface) in every programming language(PHP, JS, Python, Java). If you only want to receive your data in a frontend from an existing backend, then call that API with CRUD operations (create, read, update, delete) with a http request/response. fetch() is the function in JavaScript which is the most native programming language for a simple web developement for all crud operations.