Clay Icon

hey I need help with callingAPI through HTTP API Request

ยท
ยท

hey I need help with callingAPI through HTTP API Request

  • Avatar of Esteban L.
    Esteban L.
    ยท
    ยท

    I need to do POST against an endpoint, by using Body in form-data format, instead of json

  • Avatar of Esteban L.
    Esteban L.
    ยท
    ยท

    how do I do that?

  • Avatar of Channeled
    Channeled
    APP
    ยท
    ยท

    ๐Ÿ‘‹ Hey there! Our support team has got your message - we'll be back in touch within 24 hours (often sooner!). If you haven't already, please include the URL of your table in this thread so that we can help you as quickly as possible!

  • Avatar of Esteban L.
    Esteban L.
    ยท
    ยท
  • Avatar of Esteban L.
    Esteban L.
    ยท
    ยท
  • Avatar of Muhammad S.
    Muhammad S.
    ยท
    ยท

    you might need to do outside to clay and return the data back to clay using n8n.

  • Avatar of Esteban L.
    Esteban L.
    ยท
    ยท

    hey want to update into this I finally figured it out โœ… Muhammad S. I think you don't necessarily need to go outside with n8n, make or zapier this is how I handle to make it work I had to prepare the form-data body request outside the http column, in a separated text field first, So because form-data in raw is like param1=value&param2=value, I prepared the body outside then just added that as body param in the Http column, you can see picture below Now is working

  • Avatar of Bo (.
    Bo (.
    ยท
    ยท

    Hell yeahhh!!! Real ๐Ÿ‘‘ ๐Ÿ‘‘๐Ÿ‘‘ Well done Esteban!

  • Avatar of Muhammad S.
    Muhammad S.
    ยท
    ยท

    great, this is interesting to know. Thank you

  • Avatar of Channeled
    Channeled
    APP
    ยท
    ยท

    Hi Esteban L.! This thread was recently closed by our Support team. If you have a moment, please share your feedback:

  • Avatar of Channeled
    Channeled
    APP
    ยท
    ยท

    Thank you so much for sharing your feedback Esteban L.!