Secondary Group API update

Status
This content is read-only, or is not open for further replies.

Chipie678

Guest
offline
Hi ,

I cant set a secondary group on my guzzle request he return me a 400 bad request

PHP:

Code:
XenforoUserAccount::XFSetUserSecondaryGroup($user->xFID,[1,23,12,14]);

public static function XFSetUserSecondaryGroup($xfID,$group){
        $client = new Client([
            'base_uri' => env('XENFORO_URL'),
            'headers' => [
                'XF-Api-Key' => env('XENFORO_EDIT_USER_APIKEY')
            ],
            'content' => "application/x-www-form-urlencoded"
        ])...

Read more

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom