rest-filter icon indicating copy to clipboard operation
rest-filter copied to clipboard

Does this plugin still work?

Open jigsawsoul opened this issue 6 years ago • 2 comments

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

jigsawsoul avatar Mar 09 '18 12:03 jigsawsoul

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

danielgcnett avatar Mar 09 '18 19:03 danielgcnett

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 }

ronnieserr avatar Nov 22 '18 00:11 ronnieserr