Pourquoi webhook envoie multipart/form-data au lieu de JSON

  • monadressemel
    Demandé le 9 février 2025 à 19:29

    Bonjour,

    Voici mon form et app :

    https://eu.jotform.com/build/243494735670061

    https://eu.jotform.com/app/build/243501177589362

    Pourquoi mon webhook envoie multipart/form-data au lieu de JSON

    Merci pour votre aide


  • Asia Jotform Support
    Répondu le 10 février 2025 à 08:25

    Hi Francis,

    Thanks for using Jotform. Our French Support agents are busy helping other Jotform users right now, so I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in French, let us know and we can have them do that. But, it might take a while until they're available again.

    When the form data sent to Webhooks is always in multipart/form-data, and currently we are not able to change its format. As a workaround, you can create an API Key to send an API request, and your form data will be in JSON format. Let me show you how:

    1. In My Forms page, in the upper right side of the page, click on your Avatar/Profile picture and in the menu that opens, click on Settings.

    Pourquoi webhook envoie multipart/form data au lieu de JSON Image 1 Screenshot 30

    2. Now, from the menu on the left side of the page, select the API tab and then, click on Create New Key.

    Pourquoi webhook envoie multipart/form data au lieu de JSON Image 2 Screenshot 41That's it. You can change your API key's permission under Permissions if needed.

    Give it a try and let us know if you need any help.

Votre réponse