Skip to content

Embedded not working #342

Open
Open
@paulmeller

Description

@paulmeller

Firstly, thanks for your work on this library.

I have a WP installation that is not providing _embedded with the embed() function provided in wpapi.

Upon investigation, I have found that the WP installation responds in the following way:
/wp-json/wp/v2/posts?_embed=true (does not work)
/wp-json/wp/v2/posts?_embed (works)

I have tried using .embed() and .param('_embed', true), but, both force the key/value combination (_embed=true) rather than just the key (_embed).

Any suggestions on this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions