Open ColinZou opened 8 years ago
Version 3.5 & 3.6 on OSX 10.10.5: also happens when you try to drag and drop a request file.
Can you provide the .rcq
file that is failing? Note, that the .rcq
is just a XML file, you may also post the content of it by opening in a text editor.
@subwiz sure. Please note that File->Open recent is also throwing format error.
This was saved with the latest 3.6 version:
<?xml version="1.0" encoding="UTF-8"?>
<rest-client version="3.6"><request><http-version>1.1</http-version><http-follow-redirects/><URL>http://localhost:3000/run_jobs</URL><method>POST</method><headers><header key="auth_token" value="test"/></headers><cookies><cookie name="auth_token" value="test" version="1"/></cookies><body><string content-type="application/x-www-form-urlencoded" charset="UTF-8">auth_token=test&job_name=test_job</string></body></request></rest-client>
Process: Create a POST request with body and a header, save it then:
Strange, because I am able to all these successfully (including opening the file you sent---via drag and drop, File>Open Request and File>Open Recent). I am running on Mac El Captain, RESTClient running on JVM:
FDLMC799:~ subhash$ java -version
java version "1.8.0_91"
Can you share the OS and JVM version details?
@subwiz Thanks for looking into this!
I'm on OSX Yosemite 10.10.5
# java -version
java version "1.8.0_72"
Java(TM) SE Runtime Environment (build 1.8.0_72-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.72-b15, mixed mode)
The error was introduced when I try to open a request file from File -> Open Recent.