Giter Club home page Giter Club logo

Comments (20)

NBTX avatar NBTX commented on May 12, 2024 3

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.

terranblake avatar terranblake commented on May 12, 2024 3

@liyasthomas for this feature to be implemented, i do have a couple questions about a proposed design.

  1. can the path field be removed as a part of the solution?
  2. can i move the permalink and show code buttons below the url field on the same plane as import cURL?

from hoppscotch.

liyasthomas avatar liyasthomas commented on May 12, 2024 2

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

liyasthomas avatar liyasthomas commented on May 12, 2024 1

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.

terranblake avatar terranblake commented on May 12, 2024 1

@liyasthomas and @NBTX i'd like to take this one for hacktoberfest 😄

from hoppscotch.

NBTX avatar NBTX commented on May 12, 2024 1

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

terranblake avatar terranblake commented on May 12, 2024 1

Hopping on this one tonight. Will keep this issue updated.

from hoppscotch.

terranblake avatar terranblake commented on May 12, 2024 1

Image 2019-10-07 at 8 06 36 PM

This is what I have so far. Nothing too crazy.

from hoppscotch.

terranblake avatar terranblake commented on May 12, 2024 1

Should be available on this branch

from hoppscotch.

liyasthomas avatar liyasthomas commented on May 12, 2024 1

I afraid this feature was incomplete and branch went stale. Lemme run some tests.

from hoppscotch.

NBTX avatar NBTX commented on May 12, 2024

I'm happy to implement this myself, but I wanted to open a discussion on the matter.

from hoppscotch.

liyasthomas avatar liyasthomas commented on May 12, 2024

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

liyasthomas avatar liyasthomas commented on May 12, 2024

#93 needs similar kinda approach

from hoppscotch.

liyasthomas avatar liyasthomas commented on May 12, 2024

@terranblake you are free to contribute to this 🔥👌 assigning to you.

from hoppscotch.

liyasthomas avatar liyasthomas commented on May 12, 2024

@terranblake you tested? Any bugs?

from hoppscotch.

terranblake avatar terranblake commented on May 12, 2024

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.

liyasthomas avatar liyasthomas commented on May 12, 2024

Lemme take a look at it and possibly help you 🙂

from hoppscotch.

terranblake avatar terranblake commented on May 12, 2024

Alrighty. I'll fork. One sec

from hoppscotch.

dihmeetree avatar dihmeetree commented on May 12, 2024

This seems to have been implemented. Can this be /closed? Or this still open for discussion? :) @NBTX @liyasthomas

from hoppscotch.

JacobAnavisca avatar JacobAnavisca commented on May 12, 2024

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)

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.