Comments (8)
Okay, I will consider to implement this.
from restclient.
I had a bash at showing the rendered HTML in the "Response Body with Syntax Highlight" tab on my fork. I'm not sure it's the right place for it to be displayed and I've restricted what the content can do quite a bit.
from restclient.
Excellent ! I just tested your fork with the HTML and it's working great !
from restclient.
@stiak:
Maybe we should add an extras tab for viewing web page when the returned result is "text/html"?
from restclient.
@chao: I tried adding another tab for viewing the response image. It gets a little confusing trying to find the output as one of the tabs is always empty. Maybe we could update the tab label based on the response type?
That way if you're using a service that returns, say, JSON when successful or HTML on errors you can leave the same tab open and see a nicely formatted result regardless of how the request went.
So default label would be "Response Body with Syntax Highlight", any image would cause it to rename to "Image" and a html response would be "Rendered HTML".
Any thoughts?
from restclient.
That's a good idea !
from restclient.
@stiak: I think that's a great idea, maybe the UI could be looked like fiddler2 (see: http://www.fiddler2.com/Fiddler2/images/syntaxview.png). Except we only need to show related tabs according to different content-type.
For example: show tab "Header", "TextView", "SyntaxView" and "WebView" for "text/html".
And show tab "Header", "TextView", "ImageView" for all images.
from restclient.
Hi guys I'm going to close this issue.
Again, many thanks to stiak ;)
from restclient.
Related Issues (20)
- Remove individual favorite header
- 网址输入栏改进建议
- Bug: Korean characters
- Wesite add-on link
- curl未携带原始Http request header导致JsonParseException
- Laravel errors can't be seen, no preview.
- Unable to perform BAVA Scan in RestClient plugin for OAuth token 2.0
- Restored tab always GET
- Binary (Blob) Response download doesn't take the name from the response but simply wants to save as "download"
- post无效. HOT 2
- Can I upload local file using PUT metod?
- Can I set the body type to json ?
- Local dark mode settings not working.
- Cannot perform POST with payload of large size
- Cannot parse your pasted CURL command. Must start with curl HOT 2
- Menu is absent on tablet compact mode
- Fetaure-Request: Add an openApi (yaml) import to the tool
- Mozilla Foundation disabled RESTClient add-on for Firefox HOT 4
- curl -X CONNECT -k -i 'https://support.google.com/store/contact/store_nest_secure_msa_email?sjid=14035760928855748459-NA'
- curl -X CONNECT -k -i 'https://support.goog![1713614758493.jpg](https://github.com/chao/RESTClient/assets/154070993/48939add-f433-4b5e-a34d-bae4fdebde71) 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 restclient.