advanced-rest-client / arc-electron Goto Github PK
View Code? Open in Web Editor NEWAdvanced REST Client - Desktop application
License: Other
Advanced REST Client - Desktop application
License: Other
https://ssllabs.com/ssltest/analyze.html?d=install.advancedrestclient.com&hideResults=on
Just set a monthly cron to certbot renew
I was trying to post a request to my API. I am receiving 400 Bad request error on native application. Although the same URL when i hit on Chrome Application it is working and not giving any error.
What should happen?
The request should successfully complete without any 400 Bad request error.
What happened?
400 Bad Request Error
App: 11.0.26
Platform: linux
Electron: 1.7.8
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0
Same Request on the chrome application with the above mentioned steps gives proper output:
Having the ARC app open but idle still results in significant CPU load
I would expect the CPU load attributed to this process to be essentially zero when nothing is happening.
App: 12.1.0
Platform: win32
Electron: 1.7.11
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0
Trying to save or open from G Drive. Drive Authorisation process starts but never completes.
Note that my initial guess was that this was an SNI mismatch (as we've seen clients that send mismatched host/sni servername requests, or just omit the sni servername which results in a mismatch when apache picks the wrong server based on its default). But it turns out that this is simpler. So, for testing, I was using http
instead of https
.
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
<p>Additionally, a 400 Bad Request
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>
headers.push('Host: ' + hostValue);
var str = headers.join('\r\n');
if (this.arcRequest.headers) {
str += '\r\n';
str += this._normalizeString(this.arcRequest.headers);
}
Host
header fieldHost
header fields, then send both of them (but not the default).I try to rpm -i arc-11.0.31-x86_64.rpm and get this error. Same with rpm -qlp
fel: arc-11.0.31-x86_64.rpm: signature region 62: tag number mismatch il 7 ril 6 dl 792 rdl 380
I'm using Fedora 27
RPM version 4.14.0
4.14.11-300.fc27.x86_64
When I try to import data with a json file with saved requests, I keep getting the error - 'File Format not recognized'. What format should be used?
Neither the 32 or 64 bit RPM would install on Fedora 27. Just gives a warning that it could not install it because it is unsupported.
Currently one cannot check for ARC updates without installing them. A more standard software update pattern would to allow a user to check for updates and then, if there are updates, all the user to decide if he wants to install them or it.
Can't input chars '[' and ']' into variable field
App: 11.0.31
Platform: win32
Electron: 1.7.9
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0
The app uses oauth2-token-response
custom event when authorizing any OAuth2 client but the event is recognized by the oauth-authorization
elements. Once fired it updates states on every element which must not happen.
Main process should be able to control what is happening in render process. It should be able to trigger screen navigation, content values and actions. It allows to integrate ARC with any development workflow as well as enable integration with 3rd party application.
Example use case is to add "Run in ARC" button in Anypoint Studio when designing flows. The button action should open the application (or install it if not in the system) and open as many request tabs as flow nodes are in current Mule project.
Other example use case is to open a request (or more than one request) from a file located in a) local filesystem or b) in a remote location
All commands can specify window ID to send the command to specific window. By default active window is used.
navigate command
Triggers navigation in currently active window. Main process can only send the same data as it already is used in the application for navigate
custom event. Parameters description can be found here: https://github.com/advanced-rest-client/arc-electron/wiki/Navigation-events---dev-guide
request-action command
All commands related to the request panel. Each command can specify a tab index that will be used to perform the action. By default active tab will be affected.
It should include:
request-status command
All commands requesting information about state of the request panel. Each command can specify a tab index that will be used to perform the action. By default active tab will be affected.
variables-status command
Command to get an information about variables.
variables-action command
cookies-action command
The app will not allow to read cookies by 3rd party application.
oauth2-action command
The app will not allow to read oauth2 settings and tokens by 3rd party application.
import-action command
Allows to import data into the application
export-action command
Triggers export ARC data action. Each command can specify target (local file / Drive file)
history-action command
Allows to manipulate history entires.
history-status command
The app will not full data sharing with 3rd party apps. Only URL and the verb as well as date and history ID can be provided.
When I attempt to use the following values for a DELETE operation (and same for GET), the SessionKey query parameter is truncated at to "KjNsHeNoC2eiep9T|HOcjRbxtDlt9ZcyZ9saz1g"
Host: https://ua.selcomm.com
Path: /SelcommWS/1.0265/Email.svc/rest/EmailAddressDelete/
Query parameters:
SessionKey: KjNsHeNoC2eiep9T|HOcjRbxtDlt9ZcyZ9saz1g==|Ox7v3IUnMuck88ycRPJgBtDO3En1jAEzrO2FNs5szndTGi/5zBY=
ContactCode: 40024560
This can be seen when SEND is selected in the grey box that shows the request sent, or if you select the "Close details editor" carat at the end of the Host input.
Additionally, if you send the Request URL directly, and select SEND, the URL is fine, but if you open the detailed editor, the SessionKey param is truncated again.
Query parameter values should not be truncated.
The query parameter value containing '==' was truncated.
App: 11.0.26
Platform: linux
Electron: 1.7.8
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0
Method PUT or POST
Request Content-Type: application/json
Body: "{"idSiteLocation":9,"SerialNo":65992}"
Server Should received JSON data in body of request
body is empty
If Chrome Ext is used instead of windows app, the Chrome Ext works as expected
App: 11.0.26
Platform: 32
Electron: 1.7.8
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0
Your description here
As wikipedia states (https://de.wikipedia.org/wiki/HTTP-Statuscode) some software producer use custom http status codes starting with 9. ex. 903. These are not defined according to the http spec but also not forbidden.
What should happen?
The whole response, like when receiving a 200 response.
Following error message, with no data or response headers.
A browser shows the correct result.
App: 11.0.31
Platform: win32
Electron: 1.7.9
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0
Old version (10.0.12 was much better)
Should be able to read the JSON returned from an endpoint
Text is very faint and a very thin font. It is unreadable.
App: 11.0.31
Platform: win32
Electron: 1.7.9
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0
Though I'm working on localhost (that's usually where the api lives during developing) ARC won't connect to it without having a working connection to internet, but respondes with a 'no Network' error.
Found in Release 11.0.31
To Reproduce
Cmd+Q is the standard way of quitting apps on MacOS. It would be nice to support this shortcut in the ARC. Currently on ARC 11.0.26 it doesn't work.
It would be great to have F5 (or something else) as a hotkey to re-send the last (or the active one) request!
I created a package for arch linux based off the deb package, submitted to AUR here
https://aur.archlinux.org/packages/advanced-rest-client/
This is a very common usecase. I'm working on a project and testing the Authentication and Authorization of APIs, for that I have multiple cookies one for a user, one for admin etc. To test each I need to change the cookie. Currently I'll have to cut/paste everytime. It would be much better if I have something like this.
Also if this interests you then do remember to add a descriptor field also so that we know which cookie is which.
ARC is no longer substituting values in place of variables after the new updates. Standalone app also doesn't work in this regard.
Values should be put in place of variables in the actual request sent.
The variables themselves are sent in the request, without populating the variables:
"device_status_list": [ { "imei": "${IMEI}", "imsi": "${IMSI}",
App: 11.0.27
Platform: win32
Electron: 1.7.8
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0
"imei": "${IMEI}", "imsi": "${IMSI}"
I just downloaded the installer and was surprised to see it was 100Mb. Is there more to this installer than just the basic ARC client for testing RESTful endpoint?
Hi,
With the latest update, I noticed that not all ARC's 4 Windows processes get killed after closing the app, leaving 3 of them running in the background, ending up throwing exception message pop-ups after a while. As you can imagine, this is very annoying and the only way to stop it is to manually kill those processes via Task Manager.
Can you please fix that in the next release?
Thanks in advance.
Sometimes the body result is large (over 10mb), and freezes/lags the Advanced REST client while it does parses and renders the content into the BODY area.
I'd like to see a switch to TURN OFF the body, or perhaps show just the first 100 characters. That way the user can still operate the GUI and run API tests which return large result sets.
The Mac application is overriding the Command-H keyboard shortcut for History.
It is by default used to Hide the window and most Mac applications support that - please refer to https://support.apple.com/en-us/HT201236
Please rebind the key combination so that it doesn't override the default behaviour.
Application window is hidden
File menu blinks as it tries to open History
App: 11.0.31
Platform: darwin
Electron: 1.7.9
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0
content-type:multipart/form-data allows users to upload files from local file system to available REST endpoints. Kindly asking the support this contentType/form-data to support file upload scenario.
I try to call url by get method and got message "The requested URL can't be reached". But the same time i call this url in browser and all was good.
Url was at localhost.
I use ARC to access a server at work, which requires authentication with a certificate.
When using ARC as Chrome extension, I first open any URL on that server from Chrome itself, at which point Chrome provided me with a list of certificates to use to authenticate, and after this I could use ARC to issue requests.
Apparently, this scheme doesn't work with standalone ARC.
When the cursor is in a URI field (the Log into web service or Request URL field), pressing the Enter/Return key should send the text currently in the field to ARC for processing.
Pressing Enter/Return causes ARC to select (and act upon) the first item in the list of URIs below the URI field.
App: 11.0.31
Platform: darwin
Electron: 1.7.9
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0
When I click on a URL in the response body, it would be nice if it would populate the URL field within the client, but instead it opens up a new window in my chrome browser. I remember this used to be a feature, and you state in the most recent release notes that this feature was re-added, but it still doesn't seem to work.
Add support for themes.
ARC must support it's own default theme and additionally Anypoint styling for Mulesoft's internal use.
Themes manager should be able to install theme from external repository (GitHub) and update the theme when new version is available.
What should happen?
The second tab should work as the first tab,
What happened?
Only the first tab works, rest of the tabs are coming up empty.
App: 11.0.31
Platform: win32
Electron: 1.7.9
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0
The hosts rules editor should be able to read hosts file and include existing rules into the app.
with the unhappy face and:
The requested URL can't be reached
The service might be temporarily down or it may have moved permanently to a new web address.
i'm using data imported from the chrome version.
i can run the 2 side-by-side and the chrome version works and the app version does not
same endpoint, same data
what can i get you to help?
I don't have hard evidence (as far as I can tell, ARC doesn't create log files), but I suspect that the "login to a web service" feature may not able to handle self-signed server certificates.
To Reproduce
It may not help, but here is video showing the issue:
https://www.screencast.com/t/ltKwKn1BxQ
The video shows 3 things:
Accessing a publicly available instance of an application . The publicly available instance of the application does not use a self-signed certificate
Loading a browser with the login page of a local instance of the same app that uses a self-signed certificate -- just to show that the app is running.
Attempting to log into local instance using ARC. Note that when attempting to load the login page, the ARC UI hangs.
Your description here
I've imported a ARC project but it doesnt work on MAC
What should happen?
just work
What happened?
error parsing data an display this code
'use strict'
const u = require('universalify').fromCallback
const fs = require('graceful-fs')
const path = require('path')
const mkdir = require('../mkdirs')
const pathExists = require('../path-exists').pathExists
function outputFile (file, data, encoding, callback) {
if (typeof encoding === 'function') {
callback = encoding
encoding = 'utf8'
}
const dir = path.dirname(file)
pathExists(dir, (err, itDoes) => {
if (err) return callback(err)
if (itDoes) return fs.writeFile(file, data, encoding, callback)
mkdir.mkdirs(dir, err => {
if (err) return callback(err)
fs.writeFile(file, data, encoding, callback)
})
})
}
function outputFileSync (file, data, encoding) {
const dir = path.dirname(file)
if (fs.existsSync(dir)) {
return fs.writeFileSync.apply(fs, arguments)
}
mkdir.mkdirsSync(dir)
fs.writeFileSync.apply(fs, arguments)
}
module.exports = {
outputFile: u(outputFile),
outputFileSync
}
class ArcBase {
_debounceIndex(name) {
return this._dobouncers.findIndex(item => item.name === name);
}
/**
time
.
this._dobouncers.push({
name: name,
id: cancelId
});
}
/**
App: 11.0.28
Platform: darwin
Electron: 1.7.8
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0
e46a54d#commitcomment-27282385
Setting header like:
"Some-Header: ghost: recon"
would cause the socket library to not set "host" header.
when you press details on an item, its modal show behind the dark background
What should happen?
the modal should be in front
What happened?
the modal is on the background
App: 11.0.31
Platform: darwin
Electron: 1.7.9
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0
After fresh installation of Arc on Linux Mint from file arc-11.0.31-amd64.deb auto update feature does not work.
Auto update message
Error message:
Update error
ENOENT: no such file or directory, open '/opt/Advanced REST Client/resources/app-update.yml'
Indeed, there is no such file:
ls -la /opt/Advanced\ REST\ Client/resources/
razem 94400
drwxr-xr-x 2 root root 4096 gru 4 08:00 .
drwxr-xr-x 4 root root 4096 gru 4 08:00 ..
-rw-r--r-- 1 root root 96413562 lis 18 08:38 app.asar
-rw-r--r-- 1 root root 237708 paź 11 05:32 electron.asar
App: 11.0.31
Platform: linux
Electron: 1.7.9
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0
Suggestion: make a keyboard shortcut (I'd suggest Ctrl+Enter) in the Body field trigger the "Send" button (i.e. make the request).
I find when using this tool that I'm often modifying options in the body content (I'm working with an API where I post JSON in the body), and reaching over to the mouse then scrolling up to the "Send" button then scrolling down to see the results then clicking back in the body gets tedious. If I could just hit Ctrl+Enter, I have enough screen to see the result and I don't have to take my hands off the keyboard.
By the way, thanks for a great tool!
When opening items from Google Drive (File -> Open from Google Drive), it automatically loaded the available items. When I scrolled to the bottom of the list, it reloaded the same list, repeatedly.
The ARC items in Google Drive should appear only once.
Every time I scrolled to the bottom of the list, it loaded another copy of the ARC items.
App: 11.0.26
Platform: linux
Electron: 1.7.8
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0
The removal of variables from a HTTP request is buggy, as I click the X and the variable doesn't go away
When I click the X button, I expect the respective variable to be removed from the list.
After clicking the X button, the respective variable remains visible in the list.
App: 11.0.31
Platform: win32
Electron: 1.7.9
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0
Your description here
Request to get data
Request failed
The requested URL can't be reached
The service might be temporarily down or it may have moved permanently to a new web address.
101057795:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure:c:\projects\electron\vendor\node\deps\openssl\openssl\ssl\s23_clnt.c:769:
App: 11.0.28
Platform: win32
Electron: 1.7.8
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0
When adding an authorization header and clicking on pencil icon, the dialog box to enter credentials does not appear.
It appears when Basic is already typed in the value but still no basic hash value is updated after entering the credentials.
What should happen?
App: 11.0.27
Platform: win32
Electron: 1.7.8
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.