Browse Category: Protocol

How to use curl and postman

How to use cURL and Chrome Postman


As the growing of web applications which base on HTTP scripting. The needed of checking and getting the information from the web quickly or post, upload data to web server are very frequent tasks in web development. What’s the best way if we want to quickly do all kinds of URL manipulations and transfers. The answer is cURL and Postman. This article will help you how to use cURL  and Postman in today web development.

cURL Overview

cURL (Client for URLs) can transfer data from or to a web server by using these supported protocols (DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET and TFTP). Don’t worry about those protocols we will focus, that’s just an overview about cURL. What we need is how to use it.

To run cURL command line on window you need to download it here or the easier way is install git then open git bash to run cURL. Continue Reading


SOAP vs REST, Basic and difference

Before we make the comparison between SOAP vs REST, we should know what they are. SOAP and REST are Web Services – Method of communication between two electronic devices over a network, in this scenario is World Wide Web. Web service is a software function provided at a network address over the web with the service always on as in the concept of Utility computing.

Web API is the very common terminology in web development. A Web API is a development in Web Services where emphasis has been moving to simpler REST (Representational state transfer) based communications. REST API do not require XML-based Web service protocol as SOAP (Simple Object Access Protocol) or WSDL (Web Services Description Language). Continue Reading

HTTP diagram

HTTP: Web Developer Must Know

HTTP Definition

HTTP stands for Hypertext Transfer Protocol. This is an application protocol for distributed, collaborative, hypermedia information systems, it is the foundation of data communication for the World Wide Web which was invented by English scientist Tim Berners-Lee in 1989. He wrote the first web browser in 1990. The current version of the protocol is HTTP/1.1, which adds a few extra features to the previous 1.0 version such as Persistent connections, chunked transfer-coding and fine-grained caching headers.

Basically, HTTP is a TCP/IP (Transmission Control Protocol/Internet Protocol) based communication protocol, that is used to deliver data (HTML, PDF, JSON…) on the World Wide Web. The default port is TCP 80, but we can use other ports as well. Continue Reading