hoppscotch/hopp-cli

error parsing JSON: json: cannot unmarshal object into Go value of type []methods.Collection

pashaie opened this issue · 0 comments

running hopp-cli v0.0.8 (and v0.0.7) both in windows 10 and linux (ubuntu 22 via wsl) throws error parsing JSON: json: cannot unmarshal object into Go value of type []methods.Collection

my command .\hopp-cli.exe send .\base.json

base.json
{"v":1,"name":"base","folders":[],"requests":[{"v":"1","endpoint":"http://localhost:3010/todo","name":"a","params":[],"headers":[],"method":"GET","auth":{"authType":"none","authActive":true,"addTo":"Headers","key":"","value":""},"preRequestScript":"","testScript":"","body":{"contentType":null,"body":null}}]}