pchampin / gereco Goto Github PK
View Code? Open in Web Editor NEWGeneric REST Console
Generic REST Console
In cases where the visited URL can not be pushed with pushState
, an alternative URL should may be pushed instead (e.g. consoleURL#visitedURL
).
Of course, this implies that such alternative URLs are correctly loaded.
Instead of the spinning "loading", we could incrementally display content as it is being received...
Click on links is intercepted to load the new page inside the console (rather than reloading the page).
However, CTRL+click should be let through so that it opens a new tab/window as expected.
When content-type is text/uri-list, the URIs should be displayed as links.
When the response is JSON-LD, the @context
should be used to insert better links.
The title is quite self-contained...
Maybe another button for copying the response headers could be useful as well.
When visiting "external" links, window.location
is not updated, which is normal (pushState
does not allow use to override someone else's content), but then relative links in the response are broken.
A way to fix this would be to use a <base>
tag in the HTML.
The rationale is that the content-type of the error message is not likely to be useful for further requests. On the contrary, whenever you get an error message after a PUT or a POST, you currently have to change it back to its original value.
When the response header link
contains several links, only the first one is considered by Gereco for generating an HTML link...
E.g.:
Link: <http://ex.co/foo>;rel="next",<http://ex.co/bar>;rel="prev"
gives a single link, to http://ex.co/foo .
It should be possible to customize the request headers through the interface.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.