BlockRepeatedIP

Error message

Notice: Undefined index: cms_login_title in prijava_1ka_block_view() (line 265 of /var/www/1ka.si/www/frontend/drupal/sites/all/modules/prijava_1ka/prijava_1ka.module).

BlockRepeatedIP – change survey setting for IP blocking
request_method: POST

Parameters:

  • action= BlockRepeatedIP
  • sur_id= 123; //survey ID

JSON parameters in POST:

// blockIP – setting in minutes.
// Possible options are 10, 20, 30, 60, 720, 1440, 0=ip blocking off
{"blockIP":1440}

Response example:

{"note":"Blocking redundant IP has been successfully changed"}