I want to make a longpoll request to the vk server for the bot, but first I need to get the key and server address, https://vk.com/dev/groups.getLongPollServer here I enter group_id and make a request (below there is an option to request) but when I make a request via postman issues
{ "error": { "error_code": 100, "error_msg": "One of the parameters specified was missing or invalid: group_id is undefined", "request_params": [ { "key": "oauth", "value": "1" }, { "key": "method", "value": "groups.getLongPollServer" }, { "key": "PARAMETERS", "value": "" }, { "key": "v", "value": "5.74" } ] } }
in the request I send
{ "group_id": "165342907" } To the address https://api.vk.com/method/groups.getLongPollServer?PARAMETERS&access_token= ********** & v = 5.74 everything is correct in the URL, if something changes, it returns an error accordingly.