Skip to content

Instantly share code, notes, and snippets.

View dajve's full-sized avatar

Dajve Green dajve

View GitHub Profile
@magenx
magenx / mage2spam
Last active December 11, 2020 11:24
magento 2 light spammer
#!/bin/bash
curl -k -X POST "$1/rest/V1/customers" \
-H "Content-Type:application/json" \
--data @<(cat <<EOF
{
"customer": {
"extension_attributes": {
"is_subscribed": true
Model Description
adminhtml/system_config_source_admin_page returns list of all the items in Magento Admin menu
adminhtml/system_config_source_allregion returns list of all country regions grouped by country
adminhtml/system_config_source_catalog_timeFormat returns time format (12h or 24h )
adminhtml/system_config_source_cms_page returns list of CMS Pages
adminhtml/system_config_source_cms_wysiwyg_enabled returns list of text editor options
adminhtml/system_config_source_country returns list of all countries from directory module
adminhtml/system_config_source_cron_frequency returns list of cron frequence ( Daily, Weekly, Monthly)
adminhtml/system_config_source_currency returns list of currencies
adminhtml/system_config_source_customer_group returns list of customer groups