0

I want to delete many items by it's Ids with DELETE Rest API.

For example: Post Param: Ids: "112,324,323,544"

But In the process function I can't get that Post params.

$ids= filter_input(INPUT_POST, 'ids');
var_dump($ids); exit; ==> return NULL

$ids= $_POST["ids"];
var_dump($ids); exit; ==> return NULL

Any suggest to write a Rest Delete API for many ids?

Thinh Phan
  • 95
  • 1
  • 1
  • 8

0 Answers0