What are the requirements for WordPress?

You need to have the “API Key Generation and Restriction” plugin installed to enable the connection with the WordPress REST API.