DEV Community

Md Shah Jalal
Md Shah Jalal

Posted on

What is API? Difference between Get and Post?

API stands for Application Programming Interface.
Differences between the most common HTTP method get and post.

Get

  • Get requests are used to only request data
  • Get requests can be cached
  • Get requests remain in the browser history
  • Get requests can be bookmarked
  • Get requests have restrictions on data length

Post

  • Post requests are used to create or update data
  • Post requests can’t be cached
  • Post requests don’t remain in the browser history
  • Post requests can’t be bookmarked
  • Post requests have no restrictions on data length

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay