How i can send a request with a number when otp element by default stringify value in request body in designer 2.0?

How can I send a request with a number when the OTP element by default stringify the value from the request body in Designer 2.0? The OTP element does not have an option to set the number type by default; it is set as stringify. How can I modify it to accept numbers?

You can use CAST function in copy data task to achieve the desired functionality

1 Like

Hi Ritik,
Copy from is taken from OTP Element, but where do we save copy “copy to” (means what we write in copy to which will usable for request )?

You can simple pass any entity which will store the OTP in Number type and then simple pass the same entity in your API.