Support Forum » User Profile

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Repeatable group data not in REST response #32756
    Glenn RamseyGlenn Ramsey
    Participant

    Solved. It started working after I restarted the server.

    in reply to: Repeatable group data not in REST response #32734
    Glenn RamseyGlenn Ramsey
    Participant

    Sorry, I copied the wrong thing, in the above post, the example command is actually this
    curl -k --user user:passwd "https://myapp.local/wp-json/wp/v2/pages?_embed&status=private"

    in reply to: Repeatable group data not in REST response #32732
    Glenn RamseyGlenn Ramsey
    Participant

    The issue not how to access private posts. The issue is that the empty group_* result I posted initially only occurs if I set the page to private and access it as described in that stackoverflow answer.

    This an example command I use for testing where it fails as described above.
    curl -k --user user:passwd "https://myapp.local/wp-json/wp/v2/pages?_embed"

    As already mentioned if the page is set to public then it works as expected.

    in reply to: Repeatable group data not in REST response #32727
    Glenn RamseyGlenn Ramsey
    Participant

    Thanks Long,
    I missed out an important parameter, sorry. I'm wanting to do this with a Private page that can only be accessed by an authenticated user.
    It works on a Public page for me also, as you have pointed out.

Viewing 4 posts - 1 through 4 (of 4 total)