Skip to main content

Command Palette

Search for a command to run...

HTTP Request methods

Published
•1 min read•View as Markdown
A

Hi there! I'm a web developer with a passion for creating dynamic, user-friendly websites that help businesses and individuals achieve their goals online. With over2 years of experience in the field, I've honed my skills in a range of programming languages and web development frameworks, including Tailwindcss React Express.js React.js JavaScript.

I'm a big believer in staying up-to-date with the latest trends and technologies in the web development world, which is why I'm always learning and exploring new tools and techniques. I love working collaboratively with clients and team members to turn ideas into functional, beautifully designed websites that meet their needs and exceed their expectations.

When I'm not coding, you can find me writing blogs. Thanks for stopping by!

Today we see different HTTP request methods

First, we are going to see what is HTTP

HTTP Is nothing but the Hypertext transfer protocol and the main use of HTTP requests to enable smooth communication between client and server.

Although there are many request methods in HTTP we are going through each of them

GET Request -

It is used for data from the server

This request does not have anybody element

Syntax - GET /index.html

POST Request -

This is used to post data to the server from the client side

Use HTML form to send data to the server

PUT Request -

This request is used to update data on the server.

Syntax - PUT /new.html HTTP/1.1

HEAD Reuest -

This request is almost similar to the get request the only difference is that head requests don’t have a body

DELETE Request -

This request is used to delete data on the server.

/

More from this blog

Aditya Zende's blog

10 posts