wp-net / WordPressPCL

This is a portable library for consuimg the WordPress REST-API in (almost) any C# application
MIT License
338 stars 129 forks source link

no route was found #185

Closed digitxo closed 4 years ago

digitxo commented 4 years ago

public static string WordPressUri = "https://www.balancingpawsdogtraining.com/wp-json/";

This is my WordPressURI

This is my error: No route was found matching the URL and request method

It happens here:

        var client = new WordPressClient(ApiCredentials.WordPressUri)

        {

            AuthMethod = AuthMethod.JWT

        };

        await client.RequestJWToken(ApiCredentials.Username, ApiCredentials.Password);

(on the REquestJWToken call)

ThomasPe commented 4 years ago

Have you set up the JWT plugin correctly?

ThomasPe commented 4 years ago

Closed due to inactivity