Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #165045 Reply
    Michael
    Guest

    Hi,

    Currently trying to setup W3TC to use BunnyCDN with FSD, however looking at Bunny’s API docs it looks like the request method for the BunnyCdn_Api class is using the GET method instead of POST for the purge endpoint.
    Bunny’s API docs stipulates it should be a POST for that endpoint: https://docs.bunny.net/reference/purgepublic_indexpost
    Your code is using wp_remote_get to make the request, and when I try to purge a url, it throws a 405 – disallowed method error.
    Perhaps the Bunny API has recently changed this?
    Please could you give me a timeframe for when this might be fixed as we currently can’t purge individual URLs from the CDN?

    Many thanks,
    Michael

    #165249 Reply

    Hello Michael,

    Thank you for reaching out and for bringing this to our attention.

    I’ve checked this with the team, and this will be fixed in the upcoming W3 Total Cache release.

    Thank you for your patience!

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Bunny CDN purge api url method
Your information: