Comments (6)
Now httplab look for a .httplab
file on the pwd
, if not found it falls back to $HOME/.httplab
. You can also specify a custom file using the -config
flag.
from httplab.
Sounds like a great idea!, I'll think about the implementation, thanks!
from httplab.
Can you please provide some example config files? If httplab supports non text responses (images for example) config for that will be great.
This is a great tool. Thank you :)
from httplab.
@j-manu I'll upload some example, about the non-text responses, it's a wonderful idea, I'm not sure how to display that on the UI yet, any idea?
from httplab.
Full path to file should be sufficient
from httplab.
not sure about the images (great idea though), but regarding sample config you could just create a couple of responses in the tool and take a look at the .httplab
file.
The main idea for being able to specify the file location was not to manually write responses in that file, but just to be able to swap it out depending on the context (project or whatever) and version control it
from httplab.
Related Issues (20)
- Can't load package: package github.com/gchaincl/httplab/cmd/httplab HOT 5
- Preserve CORS preflight requests and reponses
- Location header not rendered to client HOT 3
- Display request headers sorted HOT 5
- Support for short flags HOT 4
- Add some linting to CI HOT 5
- Text selecting support using mouse HOT 8
- Goreport badge to README.md HOT 2
- Create a logo HOT 15
- Display a proper error message when dimensions are invalid HOT 8
- Choose our logo
- Graceful shutdown HOT 2
- Customizable keybindings HOT 1
- Source port number from config file HOT 2
- Create a generic install script
- Can't backspace values HOT 9
- Snap package unavailable HOT 1
- Problems rendering on tmux HOT 1
- No information returned HOT 1
- add homebrew 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 httplab.