Forum Discussion

ahabib's avatar
ahabib
Occasional Contributor
5 years ago
Solved

Datasource Loop from exel file to JSON body request

Hello, 

 

im trying readyapi 2.6.0 using free trial, 

i was able to read data (exel) from DataSource which countains the mandatory values to make a json object for my post request,

now i need to use these values in the json body of the request,

any help would be really apperciated.

4 Replies

    • ahabib's avatar
      ahabib
      Occasional Contributor

      So it's possible to write a body for a request like this ??

       

      {
      "name" : ${DataSource#Name}
      }

       

      because im getting an error while trying it like this

      • jsheph01's avatar
        jsheph01
        Contributor

        Some strings will require quotes around the property, have you tried putting quotes around the property?

        "${DataSource#Name}"