Skip to content
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

Does this plugin still work? #26

Open
jigsawsoul opened this issue Mar 9, 2018 · 2 comments
Open

Does this plugin still work? #26

jigsawsoul opened this issue Mar 9, 2018 · 2 comments

Comments

@jigsawsoul
Copy link

Does this plugin still work, it has seemed to break on my site.

@danielgcnett
Copy link

Yes, but use this fork: https://github.com/SK8-PTY-LTD/wp-rest-filter/blob/master/wp-rest-filter.php

@ronnieserr
Copy link

ronnieserr commented Nov 22, 2018

Hi, I used the https://github.com/SK8-PTY-LTD/wp-rest-filter/blob/master/wp-rest-filter.php but it doesn't seem to work.

Please advise.

Here's the API log

Date: 2018-11-21 16:24:23
Source: WP REST API
Method: GET
Status: 200
Elapsed Time: 42ms
Response Length: 145
User: api
IP Address: 75.46.144.108
Download | Copy

{
"user_agent": "Paw/3.1.8 (Macintosh; OS X/10.14.1) GCDHTTPRequest",
"connection": "close",
"host": "wp.inbox.fm",
"authorization": "Basic YXBpOlBQYiR4SXBMeDI3d1hIdjRrbFI3TkRCSQ=="
}
Download | Copy

{
"filter": {
"meta_key": "id",
"meta_value": "320",
"meta_compare": "="
}
}
Download | Copy

[]
Download | Copy

{
"Content-Type": "application/json; charset=UTF-8",
"X-Robots-Tag": "noindex",
"Link": "<http//www.wp.inbox.fm/wp-json/>; rel="https//api.w.org/"",
"X-Content-Type-Options": "nosniff",
"Access-Control-Expose-Headers": "X-WP-Total, X-WP-TotalPages",
"Access-Control-Allow-Headers": "Authorization, Content-Type",
"Expires": "Wed, 11 Jan 1984 050000 GMT",
"Cache-Control": "no-cache, must-revalidate, max-age=0",
"Allow": "GET, POST"
}
Download | Copy

{
"data": [],
"headers": {
"X-WP-Total": 0,
"X-WP-TotalPages": 0,
"Allow": "GET, POST"
},
"status": 200
}


Route: /wp/v2/posts
Date: 2018-11-21 16:20:40
Source: WP REST API
Method: GET
Status: 200
Elapsed Time: 56ms
Response Length: 145
User: api
IP Address: 75.46.144.108
Download | Copy

{
"user_agent": "Paw/3.1.8 (Macintosh; OS X/10.14.1) GCDHTTPRequest",
"connection": "close",
"host": "wp.inbox.fm",
"authorization": "Basic YXBpOlBQYiR4SXBMeDI3d1hIdjRrbFI3TkRCSQ=="
}
Download | Copy

{
"filter": {
"meta_key": "modified",
"meta_value": "2018-11-20T18:57:26",
"meta_compare": "<"
}
}
Download | Copy

[]
Download | Copy

{
"Content-Type": "application/json; charset=UTF-8",
"X-Robots-Tag": "noindex",
"Link": "<http//www.wp.inbox.fm/wp-json/>; rel="https//api.w.org/"",
"X-Content-Type-Options": "nosniff",
"Access-Control-Expose-Headers": "X-WP-Total, X-WP-TotalPages",
"Access-Control-Allow-Headers": "Authorization, Content-Type",
"Expires": "Wed, 11 Jan 1984 050000 GMT",
"Cache-Control": "no-cache, must-revalidate, max-age=0",
"Allow": "GET, POST"
}
Download | Copy

{
"data": [],
"headers": {
"X-WP-Total": 0,
"X-WP-TotalPages": 0,
"Allow": "GET, POST"
},
"status": 200
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants