-
-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I Can not Connect To My Rest Api Website #71
Comments
hi, |
Yes http://marjafile.com/wp-json/wp/v2/posts/ return 403 Forbidden, so your site blocks posts endpoint. |
Sure, we could certainly pass a settings object when creating the client. |
@adelhoss Could you send me your culture info and datetime format from WP settings? It is necessary for debug |
hi thx for helpful Library
I can not connect to rest api my web site
worpress version is : 4.8.2
and this link : http://marjafile.com/wp-json/ has exist
i install jwt and enable header and added my token
when i use this code
var client = new WordPressClient("http://marjafile.com/wp-json/"); await client.RequestJWToken("admin", "passadmin"); var posts = await client.Posts.GetAll();
always return 0 post and null
The text was updated successfully, but these errors were encountered: