hopp-cli icon indicating copy to clipboard operation
hopp-cli copied to clipboard

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

Open pashaie opened this issue 3 years ago • 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}}]}

pashaie avatar Jul 12 '22 17:07 pashaie