Wat is het probleem met mijn cURL-verzoek?

It should return a payload on success or failure.

Did you check the content of $response?

Also, I believe the usernames param format should be a string “username1,username2,...” instead.