You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
regardless of what arguments I try to pass, they seem to get ignored, and I just get the same response, so I must have the formatting wrong. I can't see a clear example in the library documentation re. how to pass arguments / clarify the desired endpoint
e.g. r = wpapi.get("posts")
(and then printing the json contents of the variable 'r')
... yields the same response as:
r = wpapi.get("posts?status=draft")
or
r = wpapi.get("posts?slug=member_post_abc")
If you could please clarify, I'd be grateful.
The text was updated successfully, but these errors were encountered:
I'd suggest if you have access to your webserver's raw access logs, to check that the correct params are indeed being passed through to the webserver. If they are, then this is not a problem with the client.
If you don't have access to the webserver's access logs, you can always try postman, mitmproxy or wireshark.
regardless of what arguments I try to pass, they seem to get ignored, and I just get the same response, so I must have the formatting wrong. I can't see a clear example in the library documentation re. how to pass arguments / clarify the desired endpoint
e.g.
r = wpapi.get("posts")
(and then printing the json contents of the variable 'r')
... yields the same response as:
r = wpapi.get("posts?status=draft")
or
r = wpapi.get("posts?slug=member_post_abc")
If you could please clarify, I'd be grateful.
The text was updated successfully, but these errors were encountered: