how to make parse of list(string) not list(char) in parse argument of list?
You can solve this problem by adding action="append" to your request parserlike below
apilink_parser.add_argument('parameter',type=str,action="append")apilink_parser.add_argument("expectreturn", type=list,action="append")
this will return you below output
{ 'provider_id': 1, 'name': 'riskiqwhois', 'func_id': 1, 'method': 'post', 'url': 'myurl', 'parameter': ['query'], 'expectreturn': None }
Well, you forgot to set action="append"
and you should change from type=list to type=str.If not, you will still be getting a result like [['q', 'u', 'e', 'r', 'y']].
...apilink_parser.add_argument('parameter',type=str, action='append')apilink_parser.add_argument("expectreturn", type=str, action='append')