Comments (15)
Agreed.
I'm struggling which feature to build first: Request History vs Saved Requests, since they are both very similar (coding wise) ...
from app-restconsole.
I personally feel that saving is a better option. I may be testing and changing my requests as I develop, and when I am done I want to save but I may not care about every request I make (as many may be essentially wrong).
Also as I am developing interfaces to other services, I need to manually form REST requests until I have the time to develop the feature and use the other REST client to do operational work, loading the saved requests and modifying the values for the specific task I need to handle without re-entering the same information. History seems a bit more complex.
Is there a way to reuse the URL field to store the REST parameters perhaps?
from app-restconsole.
I would vote for adding Saved Requests first. The main way I would see this differing from history is that some things may need placeholders instead of real data. History would contain real data. Placeholders could be used as part of a URL or the value of a parameter, or a portion of the RAW body.
The way I would see Request History working would be like this: every time I submit a request, the details of that request (and response?) are stored in a history. In the process of development and testing, I'll accumulate a history of hundreds of requests. I would see the oldest ones rolling off, keeping in history a maximum limit of a configurable number.
But I could see "starring" or "favoriting" certain requests in my history, to keep them from rolling off.
To @mrpoundsign 's comment: Maybe a combination of a saved request with placeholder, then loading overrides to set values in those placeholders would do what you want?
Thank you Ahmad! I'm enjoying using this app already!
from app-restconsole.
@nadavoid I think you nailed it on the head in terms of the differences between the two ... I think that's the way I will move forward with this.
@mrpoundsign the URL thing is an interesting one, and I have thought about it, but Chrome doesn't show the URLs apps (or at least mine doesn't, does it show on yours?)
but that got me thinking, I can do a an omnibox (the URL field in chrome) integration where you can initiate a REST call from any tab you're on, the syntax would probably look something like the curl syntax ...
also, on that thought (ideas are rolling in now) I can do a right click integration for links on pages where you can initiate a REST call to that link!
thoughts?
from app-restconsole.
Love the idea of omnibox integration. (never knew that was called an "omnibox") That would provide a smooth transition in my existing workflow, which does start with simple GET requests, and I currently do just start by entering a URL in the browser.
I don't see any immediate need for right-click integration on links, but could be handy when looking at WADL documentation. I'd see that as a separate feature request.
from app-restconsole.
I wonder if it could be done from the development console "network" list so
you can grab an existing request and turn it into a rest client window.
On Wed, Oct 12, 2011 at 10:23 AM, David Lanier <
[email protected]>wrote:
Love the idea of omnibox integration. (never knew that was called an
"omnibox") That would provide a smooth transition in my existing workflow,
which does start with simple GET requests, and I currently do just start by
entering a URL in the browser.I don't see any immediate need for right-click integration on links, but
could be handy when looking at WADL documentation. I'd see that as a
separate feature request.Reply to this email directly or view it on GitHub:
https://github.com/codeinchaos/rest-console/issues/50#issuecomment-2381917
Brian Nelson
from app-restconsole.
@mrpoundsign funny you said that, Google just recently announced the ability to make extensions within the Development Console, so one can extend the functionality ... its still under the experimental APIs and I've been playing with it, its pretty cool, but unfortunately it has to be a separate app/extension ... but that is not a big deal.
so yes, once that feature goes out of experiments, I'll be adding it ;)
however, that doesn't justify leaving the "history" feature to the Development Console, since a lot of people don't even know how that it exists, never-mind knowing how to use it.
from app-restconsole.
+1 for Saved Requests.
from app-restconsole.
Is the feature going to be added? This feature would be very useful.
from app-restconsole.
yes, its in the works :)
from app-restconsole.
Along with this feature, might I suggest that in addition to "saving" (i.e. to a file), you could have an export (maybe serialize to a JSON string) so a request could be easily shared with others?
from app-restconsole.
What's the status of this feature?
from app-restconsole.
I too am interested in this. If no one has started, I might take a crack at it.
from app-restconsole.
this is already in the works on the development branch and near ready.
perhaps I'll spend some time this weekend listing all the remaining tasks/steps into issues on github so if anyone is able to pitch in they'd know what to tackle first ...
from app-restconsole.
👍 I'm for saving, too - has this progressed in any way since April? Also, would it be able to save the RAW body at all? At the moment, it doesn't seem to work that way.
from app-restconsole.
Related Issues (20)
- Allow the header used for oauth to be specified
- Spelling error "Query sliing"
- Feature Request: copy request from network viewer
- POST parameters are not sent HOT 5
- OAuth2 & OAuth2 Implicit grant
- https support HOT 1
- Dialog box not dismissed
- Cookies / Accept-Encoding not shown in Request Headers tab
- "Source Code" and "Issues" links are broken HOT 1
- Repeated query parameters are not supported
- Feature Request: Larger Preview Panel HOT 1
- Feature Request: Provide option to keep 'Send, Get, Post, etc' bar on the screen at all times HOT 1
- All GitHub links at the bottom of app go to wrong repo HOT 4
- Typo in Request Method name HOT 1
- CONNECT HTTP Method spelled wrong
- Install without google login
- Remember and offer selection of multiple OAuth configurations
- Incorrect label for "Request Headers" in Custom Headers
- Wrong OAuth signatures
- Proxy support HOT 1
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 app-restconsole.