Code Monkey home page Code Monkey logo

arc-electron's Introduction

Advanced REST Client application

This is the main repository for the ARC Electron application.

Documentation

If you are looking for the documentation then visit docs.advancedrestclient.com.

Installation

If you are looking to install the application, the go to the releases page and download the installer for your system.

  1. Find the latest stable release.
  2. Toggle the Assets and find the installer for your system. For Windows it will be arc-setup.exe. macOS users should download arc-x.x.x.dmg, where x.x.x is the version number. Linux users should find the distribution corresponding to the system you are using.
  3. Run the installer by clicking on it.

Note that you may be asked to use an account with upgraded privileges to install the application.

Project planning

We believe in open web and open API tooling. The project is managed in an open way and you can also contribute by requesting features and reporting issues. You can check current planning in the project plan.

Contributing to the project

Get familiar with the application architecture. You may also want to look into the .github/CONTRIBUTING.md document before you jump into the development.

Clone the repository:

git clone https://github.com/advanced-rest-client/arc-electron.git

Checkout this branch

git checkout redesign2020

Next, install dependencies (it may take a moment)

npm install

And run the application

npm start

arc-electron's People

Contributors

aurelienshz avatar bernard-pvit avatar dependabot[bot] avatar giper45 avatar jarrodek avatar kleinron avatar mul14 avatar rudyonrails avatar wluberti avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

arc-electron's Issues

SSL Error

Your description here

Expected outcome

Request to get data

Actual outcome

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:

Versions

App: 11.0.28
Platform: win32
Electron: 1.7.8
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0

Steps to reproduce

  1. GET Request to https://splatoon2.ink/
  2. Error

Query parameters with particular values are truncated

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.

Expected outcome

Query parameter values should not be truncated.

Actual outcome

The query parameter value containing '==' was truncated.

Versions

App: 11.0.26
Platform: linux
Electron: 1.7.8
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0

Steps to reproduce

  1. Enter a DELETE or GET Request URL with https://ua.selcomm.com/SelcommWS/1.0265/Email.svc/rest/EmailAddressDelete/?SessionKey=KjNsHeNoC2eiep9T|HOcjRbxtDlt9ZcyZ9saz1g==|Ox7v3IUnMuck88ycRPJgBtDO3En1jAEzrO2FNs5szndTGi/5zBY=&ContactCode=40024560
  2. Open the detailed editor. See that the SessionKey parameter has been truncated.
  3. Paste the full value of the SessionKey into the value field.
  4. Close the detailed editor. See that the SessionKey parameter has been truncated.

Decouple Checking for Updates and Installing Updates

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.

Cannot use RPMs

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

400 Bad Request Error on POST request

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.

Expected outcome

What should happen?
The request should successfully complete without any 400 Bad request error.

Actual outcome

What happened?
400 Bad Request Error

Versions

App: 11.0.26
Platform: linux
Electron: 1.7.8
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0

Steps to reproduce

  1. Create a POST request to a URL with following headers:

image

  1. POST Request should have a JSON Object in the body

image

  1. Response is something like this (400 bad Request)

image

Chrome Application Response

Same Request on the chrome application with the above mentioned steps gives proper output:

image

ARC no longer substituting values in place of variables

ARC is no longer substituting values in place of variables after the new updates. Standalone app also doesn't work in this regard.

Expected outcome

Values should be put in place of variables in the actual request sent.

Actual outcome

The variables themselves are sent in the request, without populating the variables:
"device_status_list": [ { "imei": "${IMEI}", "imsi": "${IMSI}",

Versions

App: 11.0.27
Platform: win32
Electron: 1.7.8
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0

Steps to reproduce

  1. Use a request that contains variables:
    "imei": "${IMEI}", "imsi": "${IMSI}"
  2. Have variables set up in an environment
  3. Send request
  4. Request does NOT end up populating the values in place of the variables

cant send a post query

Your description here
I've imported a ARC project but it doesnt work on MAC

Expected outcome

What should happen?
just work

Actual outcome

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);
}
/**

  • Prohibits execution of a task for some time.
  • The task is executed at the end of this time.
  • this.debounce('ajax-call', function() {
  • this.makeAjaxCall();
  • }, 2000);
  • @param {String} name Name of the task
  • @param {Function} callback A function to call.
  • @param {Number} time Number of milliseconds after which the task is executed.
    */
    debounce(name, callback, time) {
    if (!this._dobouncers) {
    this._dobouncers = [];
    }
    var index = this._debounceIndex(name);
    if (index !== -1) {
    return;
    }
    var cancelId = setTimeout(() => {
    var index = this._debounceIndex(name);
    this._dobouncers.splice(index, 1);
    callback.call(this);
    }, time);
this._dobouncers.push({
  name: name,
  id: cancelId
});

}
/**

  • Cancels previously set debounce timer.
  • @param {String} name Name of the task
    */
    cancelDebounce(name) {
    var index = this._debounceIndex(name);
    if (index === -1) {
    return;
    }
    var debounce = this._debouncers[index];
    clearTimeout(debounce.id);
    this._debouncers.splice(index, 1);
    }
    }
    exports.ArcBase = ArcBase;
    {"requests":[{"_id":"

Versions

App: 11.0.28
Platform: darwin
Electron: 1.7.8
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0

Steps to reproduce

Potential Issue with Self-Signed Server Certificates

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

  1. Configure a web application that uses https and a self-signed certificate
  2. From ARC, log into app by providing a URL that will load a page that enables user to authenticate
    Expected: app login page loads
    Actual: ARC page hangs

It may not help, but here is video showing the issue:
https://www.screencast.com/t/ltKwKn1BxQ

The video shows 3 things:

  1. Accessing a publicly available instance of an application . The publicly available instance of the application does not use a self-signed certificate

  2. 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.

  3. Attempting to log into local instance using ARC. Note that when attempting to load the login page, the ARC UI hangs.

Add multipart/form-data support to upload files

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.

all requests return '0 Request error'

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?

Login to a web service does not work in Mac application

This is a blocker for me as all the REST calls I need to do require a lot of information I just don't want to enter manually (if I would, I would just use cURL). A screenshot is attached:
screen shot 2017-12-12 at 11 41 17 am

BONUS: Note the typo on "Sessison" ;-)

Add RAML support

  • Add ability to read RAML project and display documentation for it
  • Add Request Panel that accepts RAML data to generate pre-filled request parameters forms (body, URI, URL, headers)

Clicking on a URL in the response body does not place it in the request URL field.

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.

Delete variables from HTTP request

The removal of variables from a HTTP request is buggy, as I click the X and the variable doesn't go away

Expected outcome

When I click the X button, I expect the respective variable to be removed from the list.

Actual outcome

After clicking the X button, the respective variable remains visible in the list.

Versions

App: 11.0.31
Platform: win32
Electron: 1.7.9
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0

Steps to reproduce

  1. Create a new HTTP request
  2. Head to the Variables section and add a bunch of variables
  3. Try to click the X buttons to remove the previously added variables, one by one. I started by the first variable.

Focus Automatically Put on First Item in URL History

Expected outcome

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.

Actual outcome

Pressing Enter/Return causes ARC to select (and act upon) the first item in the list of URIs below the URI field.

Versions

App: 11.0.31
Platform: darwin
Electron: 1.7.9
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0

Steps to reproduce

  1. See https://www.screencast.com/t/iqR3QQN1igkU

"Idle" ARC imposes relatively high load on CPU

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.

Versions

App: 12.1.0
Platform: win32
Electron: 1.7.11
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0

Steps to reproduce

  1. Run ARC
  2. hit a remote service
  3. Let app be "idle"

Authorization Header does not provide basic hash

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.

Expected outcome

What should happen?

Actual outcome

  • Dialog box should appear after clicking on pencil icon
  • After entering credentials the hash value should get automatically updated to the request header.

Versions

App: 11.0.27
Platform: win32
Electron: 1.7.8
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0

Steps to reproduce

  1. Try to call a rest service with basic authentication
  2. Add Header Authorization
  3. Click on pencil icon to enter credentials (Nothing will happen)
  4. Enter Basic in value and then click on pencil icon, the dialog box will appear.
  5. Enter credentials and click Accept. (No value is updated in header)

Uncaught exception

I have nothing to do, just added url in the host field and after about 5 minutes inactivity error window was shown.
image

In the desktop version of the ARC, only the first tab works

Your description here
2017-12-15_14h41_27

Expected outcome

What should happen?

The second tab should work as the first tab,

Actual outcome

What happened?

Only the first tab works, rest of the tabs are coming up empty.

Versions

App: 11.0.31
Platform: win32
Electron: 1.7.9
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0

Steps to reproduce

  1. Open the second tab
  2. The tab opens up blank and not able to enter any data and is unusable state

Installer file size

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?

letting the user try to send a host header results in an error from Apache

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.

Steps:

  1. Open Advanced Rest Client
  2. Method: GET
  3. Request URL: http://www.apache.org
  4. Add Header
  5. SEND

Actual results:

<!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>

Problematic code:

headers.push('Host: ' + hostValue);

    headers.push('Host: ' + hostValue);
    var str = headers.join('\r\n');
    if (this.arcRequest.headers) {
      str += '\r\n';
      str += this._normalizeString(this.arcRequest.headers);
    }

Possible expected results:

  • Don't let the user add a Host header field
  • Treat the user's host header field as replacing the default header field (this is more useful)
    • Note: if the user provides two Host header fields, then send both of them (but not the default).

Returned JSON text is so light it is unreadable!!

Old version (10.0.12 was much better)

Expected outcome

Should be able to read the JSON returned from an endpoint

Actual outcome

Text is very faint and a very thin font. It is unreadable.

Versions

App: 11.0.31
Platform: win32
Electron: 1.7.9
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0

Steps to reproduce

  1. Do any JSON request.

Switch to show/hide body BEFORE request is sent

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.

Create a protocol to remote control the app

  • Create a protocol to control the app behavior from the main process.
  • Allow access to the remote protocol for the 3rd party applications

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

Protocol definition

Main process > render process

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:

  • sending request for active tab
  • replacing any of request values (URL, verb, headers, payload)
  • update single header value
  • aborting the request
  • clear the request panel
  • clear the response panel
  • save current data to a project (override or as new)
  • switch request tab
  • open new request tab
  • open new request tab with request data
  • open new request tab from history
  • open new request tab from saved (that includes project)
  • close a tab
  • switch to headers source view
  • switch to headers form view

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.

  • Requesting tabs info - list of opened request tabs in the window with basic information about it's content (saved / saved in project / history / not saved / Drive item, tab ID, name, request ID, Project name)
  • Requesting request fields (URL, verb, headers, payload)
  • current tab state (requesting / idle)
  • current response state (response object: status, status text, headers, body; has response)
  • currently opened tab
  • headers editor selected view

variables-status command

Command to get an information about variables.

  • list variables
  • list environments
  • get current environment

variables-action command

  • update a variable - by default in current environment but the command can specify target environment
  • change environment
  • add variable - by default in current environment but the command can specify target environment
  • disable variable - by default in current environment but the command can specify target environment
  • enable variable - by default in current environment but the command can specify target environment
  • remove variable - by default in current environment but the command can specify target environment

cookies-action command

The app will not allow to read cookies by 3rd party application.

  • set cookie for a URL
  • delete cookie(s) for a URL

oauth2-action command

The app will not allow to read oauth2 settings and tokens by 3rd party application.

  • set token (for a specific provider identified by OAuth settings)
  • delete token

import-action command

Allows to import data into the application

  • import file: request data / arc export / other export / REST api data (RAML)
  • import drive file

export-action command

Triggers export ARC data action. Each command can specify target (local file / Drive file)

  • export all
  • export selected (saved / history / projects / ... )

history-action command

Allows to manipulate history entires.

  • insert history entry
  • delete history entry

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.

  • list history (with pagination)
  • get history entry

Unable to import ison file

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?

Fedora 27 Not Supported

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.

can't send GET method

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.

Unkilled background processes throwing exception messages after closing ARC

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.

Duplicate items from Google Drive

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.

Expected outcome

The ARC items in Google Drive should appear only once.

Actual outcome

Every time I scrolled to the bottom of the list, it loaded another copy of the ARC items.

Versions

App: 11.0.26
Platform: linux
Electron: 1.7.8
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0

Steps to reproduce

  1. Menu File -> Open from Google Drive
  2. Scroll to the end of the items saved in Google Drive
  3. Goto 2

JSON Body Not Sent To Server

Method PUT or POST
Request Content-Type: application/json
Body: "{"idSiteLocation":9,"SerialNo":65992}"

Expected outcome

Server Should received JSON data in body of request

Actual outcome

body is empty

If Chrome Ext is used instead of windows app, the Chrome Ext works as expected

Versions

App: 11.0.26
Platform: 32
Electron: 1.7.8
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0

Item modal on background

when you press details on an item, its modal show behind the dark background

Expected outcome

What should happen?
the modal should be in front

Actual outcome

What happened?
the modal is on the background

Versions

App: 11.0.31
Platform: darwin
Electron: 1.7.9
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0

Steps to reproduce

  1. clic on project item "details"

Update error ENOENT: no such file or directory, open '/opt/Advanced REST Client/resources/app-update.yml'

After fresh installation of Arc on Linux Mint from file arc-11.0.31-amd64.deb auto update feature does not work.

Expected outcome

Auto update message

Actual outcome

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

Versions

App: 11.0.31
Platform: linux
Electron: 1.7.9
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0

Steps to reproduce

  1. Click 'Help'
  2. Click 'Check for Update

Support for HTTPS certificate-based authentication needed

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.

Add support for themes

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.

[Feature Request] Allow enable/disable of parameters

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.

image

Also if this interests you then do remember to add a descriptor field also so that we know which cookie is which.

Add Cmd+Q shortcut for quit.

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.

Suggestion: Keyboard shortcut to trigger "SEND"

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!

Mac Application - overlapping native keyboard shortcut

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.

Steps to reproduce

  1. Open application
  2. Press Command-H

Expected outcome

Application window is hidden

Actual outcome

File menu blinks as it tries to open History

Versions

App: 11.0.31
Platform: darwin
Electron: 1.7.9
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0

Make support for custom HttpStatusCodes 9xx

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.

Expected outcome

What should happen?
The whole response, like when receiving a 200 response.

Actual outcome

Following error message, with no data or response headers.

grafik

A browser shows the correct result.

Versions

App: 11.0.31
Platform: win32
Electron: 1.7.9
Chrome: 58.0.3029.110
V8: 5.8.283.38
Node: 7.9.0

Steps to reproduce

  1. Perform a request where the response has a http status code = 903

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.