Comments (20)
I'm actually only drawing the parallel to Postman's interface from experience, rather than because the names are similar, and this is the UI I'm used to - but this, as I said is something I would find useful.
I already very much prefer Postwoman because it's so much lighter. Even on my pretty decent systems Postman takes upwards of 7 seconds to start up, and then usually has several annoying pop ups to deal with.
from hoppscotch.
@liyasthomas for this feature to be implemented, i do have a couple questions about a proposed design.
- can the
path
field be removed as a part of the solution? - can i move the
permalink
andshow code
buttons below theurl
field on the same plane asimport cURL
?
from hoppscotch.
@terranblake yes you can. permalink
& show code
can be moved to bottom of the section.
currently path
is appended to request, you must resolve that while making changes.
there are bindings for path
in various methods, you must resolve that too.
from hoppscotch.
This fact might surprise you: other than seeing some screenshots on internet, I haven't used Postman or seen its UI (this is just because, my 7 year old pc can't afford to run another Electron app). Afterall, I didn't intend to create an alternative to Postman, in my opinion this project should outperform any other such tools, since its lightweight, faster & opensource.
If there's any feature we'd like to add, all are free to discuss here. Everything is better when there's freedom and customisation in it.
from hoppscotch.
@liyasthomas and @NBTX i'd like to take this one for hacktoberfest 😄
from hoppscotch.
@terranblake I imagine you would just use the JavaScript URL object:
const target = new URL("https://example.com/test");
In which case you can just get .path
, .host
/.hostname
, etc.
As @liyasthomas mentioned, path
is in a separate variable so you will need to split the URL and handle them separately but part of the goal of this ticket is to have the entire URL (querystring and all) handled in a single input box as it is with postman.
So to answer your question, you can remove the path
input box and have a single input box for the full URL but obviously we still need the path to be handled as a separate variable.
from hoppscotch.
Hopping on this one tonight. Will keep this issue updated.
from hoppscotch.
from hoppscotch.
Should be available on this branch
from hoppscotch.
I afraid this feature was incomplete and branch went stale. Lemme run some tests.
from hoppscotch.
I'm happy to implement this myself, but I wanted to open a discussion on the matter.
from hoppscotch.
@NBTX see #63 and share your thoughts. Me too think this is an essential feature somehow I forgot at the first place. My bad. Anyway thanks for pulling it up.
from hoppscotch.
#93 needs similar kinda approach
from hoppscotch.
@terranblake you are free to contribute to this 🔥👌 assigning to you.
from hoppscotch.
@terranblake you tested? Any bugs?
from hoppscotch.
Query params are imported directly into the parameters section. I am having an issue with the Referer
field of the request getting blown up...
from hoppscotch.
Lemme take a look at it and possibly help you 🙂
from hoppscotch.
Alrighty. I'll fork. One sec
from hoppscotch.
This seems to have been implemented. Can this be /closed? Or this still open for discussion? :) @NBTX @liyasthomas
from hoppscotch.
Heyo! Just made a PR for this #603
used a regex and I did some testing but might be good for others to try it out as well
from hoppscotch.
Related Issues (20)
- [bug]: Import cUrl failed HOT 4
- [bug]: Using a file as request body in combination of a custom Content-Type freezes hoppscotch desktop app
- [bug]: import_meta_env_placeholder exposed differently on different selfhosted deployments HOT 1
- [feature]: post requests fail to pass parameters properly
- [bug]: REST GET request always send null body HOT 2
- [bug]: Unable to import to workspace HOT 1
- [feature]: Want to add a description field for request parameters
- [bug]: Can't login with Linux app HOT 1
- [feature]: If the response is HTML, show the HTML preview by default or remember the preference HOT 2
- [feature]: Ability to run a collection of requests sequentially HOT 6
- [bug]: while login via the app, backend hoppscotch shows as 503 service unavailable HOT 3
- [bug]: google auth callback not working on self host HOT 3
- [bug]: 200% CPU usage of tauri:// on macos when idle
- [bug]: not able to run hoppscotch-backend latest in docker compose HOT 8
- [bug]: not able to run Hoppscotch latest in Windows desktop HOT 3
- [bug]: importing collections into Hoppscotch splits each request into separate folders and when you open those folders - there is nothing in them HOT 1
- [bug]: Hoppscotch Desktop App can not work HOT 11
- [bug]: MacOS - Hoppscotch desktop latest version does not work HOT 3
- [bug]: app (hoppscotch.io) not working globally since 2024.3.1 HOT 2
- [bug]: Hoppscotch doesn't load in French since last version HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hoppscotch.