Tag Archives: http

axios – a promise based HTTP client
Axios is a promise based HTTP client for the browser and node.js. axios GitHub Installation npm install axios or add to the web page <script [...]
httpie: HTTP GET, POST … requests in console
https://httpie.org/ github Install sudo apt install httpie Sample request http GET http://localhost:4000/api/users http GET :4000/api/users http GET [...]
Local WordPress development on Ubuntu is super easy
If you are tired of changing localhost domain to the correct one before the siteis published this tutorial is for you. We will create a local domain so [...]
Force https in .htaccess
RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.example.com/$1 [R,L] Change example.com to your domain name. More info
Basics of Wireshark
Installation sudo aptitude wireshark Enable capture a traffic as a non-root user using a wireshark setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' [...]
Request headers
Sample User Agents
Get your user agent by entering the following code into browser console: navigator.userAgent Chromium on Ubuntu "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 [...]
dword
Convert IP to dword 206.191.158.55. 206 * 256 + 191 = * 256 + 158 = * 256 + 55 = 3468664375 dword number, any multiple of the quantity 4294967296 (2^564) [...]