invalid_params — неправильный тип параметра запроса. Статус 400
Вот код, который я использую:
Код: Выделить всё
$request = new PendingRequest();
$res = $request->withHeaders([
'Authorization' => 'Bearer xxxxxxxxxx',
'Content-Type' => 'application/json; charset=UTF-8'
])->post('https://open.tiktokapis.com/v2/post/publish/creator_info/query/');
Подробнее здесь: https://stackoverflow.com/questions/783 ... -incorrect
Мобильная версия