frank
frank copied to clipboard
json in request score can't be set as array
Describe actual behavior
json
in request score can't be set as array.
What is your expected behavior
json
in request score can be set as array.
Specifications like the version of the project, operating system, or hardware
Steps to reproduce the problem
url="https://httpbin.org"
POST /post Post json data
header["Accept"] = "application/json"
header["Content-Type"] = "application/json"
json = [1,2]
Response
must(status==200)
Temporary solution:
url="https://httpbin.org"
POST /post Post json data
header["Accept"] = "application/json"
header["Content-Type"] = "application/json"
json = [1,2]
bodyRaw = JSON.stringify(json)
Response
must(status==200)