Anuj Kaushal

Posts Tagged / curl

Bash script to get HTTP response code from list of URL

May 12, 2020 | Bash, Blog | by anuj

While preparing list of active stores i had to create following script because the list of stores were in hundreds. Here is a simple bash script to read list of URLs from a text file and generate the output in a separate file with comma delimited.

How to access Magento 2 API using curl command

March 24, 2020 | Blog, Magento | by anuj

When i first time trying to access to Magento 2 API using CLI curl command. I couldn’t find any good reference or example. So i have decided to write my own reference for future. You can access Magento 2 API in two simple steps. Unlike from Magento 1 you don’t have to generate separate API […]