Postman
High-level - way to transfer data within terminal. We'll focus on HTTP functionality:
GET - literally get something POST - post something (save) PUT - update something DELETE - delete something
curl <hostname>
-X
changes the method, by default it's GET
curl -X POST -d <data> <hostname>
curl -X PUT -d <data> <hostname>
curl -X DELETE <hostname>
-s
or --silent
or if you really don't like data:
curl <something> > /dev/null
In case you need to log into remote machine, you can do that using SSH
.
SSH stands for secure shell. Provides a secure channel over an unsecured network. Best way to think about it? Anytime you need to log into a server, use SSH.
ssh <username>@<hostname>
Extras:
-p <port>
- specify port on which the connection should be estabilished-i <file/credentials>
- specify the credentials to auth over the server