Answer the question
In order to leave comments, you need to log in
How to correctly compose and send a request through the Yandex.Webmaster API "Starting the procedure for verifying rights"?
Here is the instruction - https://yandex.ru/dev/webmaster/doc/dg/reference/h...
But I can't figure out how to correctly send a request to confirm the rights to the site.
In stock we have:
{user-id}
{host-id}
api key
I send the request in this way
POST https://api.webmaster.yandex.net/v4/user/{user-id}/hosts/{host-id}?verification_type=HTML_FILE
<?xml version='1.1' encoding='UTF-8'?><Data><error_message>Method not allowed</error_message><error_code>METHOD_NOT_ALLOWED</error_code></Data>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question