• Hello,

    After updating to the latest version (5.6), my website (all of them) which use CF7 REST API started to return an error. While reading the major changes I noticed this:

    REST API: Returns a 415 HTTP error status when the Content-Type header value in a feedback creation request is not multipart/form-data.

    So, I updated my ajax request (using jQuery) to send contentType: ‘multipart/form-data’. Even when my form does not contain any file input, sadly it always returns validation error. I tried different approaches like serialize data, create object manually, using JavaScript new FormData, but without any luck.

    Could anyone provide me a working example with this 5.6 version? I would appreciate it.

    Thank you for your time.

  • The topic ‘REST API issue with 5.6 release’ is closed to new replies.