I have a response in list format from an API.
${list}=[u'e2e', u'e2etest', u'123e2e', u'Cost', u'App', u'Env']
I need to replace this list in another API post body.
list_filter= set variable ${list}
apibody: dir(filter: {name: {in_: "list_filter"}})
But when I do that I get an error as
Response status code is not equal 200: 200 != 415(Unsupported Media Type)
detail: "Invalid Content-type (application/json), expected JSON data"
status: "415"
title: "Unsupported Media Type"
type: "about:blank"
- how to remove u (unicode character from list when I get the response or post response?
- How to replace the string list in 2nd body?