I am trying to extract comma separated values and pass it on as a Array to a property in PUT API request. However, while extracting these values (when extracted in pre-request coming as Object) not getting passed as string of array values ex: ["apple", "banana", "orange"] it is going as ["apple, banana, orange"]. Is there a way i can convert to required format using pre-request scripts ?
Thank you..
Thank you for the video
thanks for watching
I am trying to extract comma separated values and pass it on as a Array to a property in PUT API request. However, while extracting these values (when extracted in pre-request coming as Object) not getting passed as string of array values ex: ["apple", "banana", "orange"] it is going as ["apple, banana, orange"]. Is there a way i can convert to required format using pre-request scripts ?