Coder Social home page Coder Social logo

Comments (4)

tim-kos avatar tim-kos commented on June 21, 2024 1

Hey christian,

It does not matter whether the fields are sent as form-urlencoded fields or as part of the parameters - both ways work. I will update the documentation to make things clearer. Will also check why providing them as opts.fields does not work.

from node-sdk.

tim-kos avatar tim-kos commented on June 21, 2024

I have created a template containing this:

{
  "steps": {
    "import": {
      "robot": "/http/import",
      "url": "${fields.url}"
    }
  }
}

And then I have set up two test scripts, one where the fields are part of the params, and one where they are both on the same level:

https://gist.github.com/tim-kos/f23dd0541e7ffeb80f82c021d9838c30
https://gist.github.com/tim-kos/bc29520c6e27e218bb3889c42e6670af

Both times things have worked fine. :/

Do you have a code example where it did not work for you so that I can reproduce it?

from node-sdk.

christianbradley avatar christianbradley commented on June 21, 2024

Please see the assemblies I sent via transloadit support chat. Note that today, the same code seems to work, so it may be an intermittent issue or an issue with one of the instances, or fixed with an internal release.

from node-sdk.

tim-kos avatar tim-kos commented on June 21, 2024

Alright, will check them out. Will close this for the time being.

from node-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.