Comments (2)
@timsofteng Hey, yeah it is possible by using .env files to declare environment variables.
So by example your .env file can look like this
TOKEN=my_s3cre1_tk
And then you can use it in your http file, rest.nvim will automatically replace the variable by its value, you can see this like string interpolation.
Authentication: Bearer {{TOKEN}}
Regards
from rest.nvim.
Awesome.
Thanks
from rest.nvim.
Related Issues (20)
- Can we have support for running GRPC requests? It will be very useful. HOT 2
- Response is no longer formatted after 5bcaa10 HOT 10
- Getting response json in 1 line HOT 2
- http parser doesn't work properly
- json colors are lost when httpResult buffer is open HOT 1
- Pass the settings --cert, --key and --cacert to make mTLS works HOT 2
- Add statistics for requests HOT 1
- POST file length is 0 bytes
- Cookies are not set when Set-Cookie header is received
- Error processing server response HOT 1
- Issue with Header Capitalization Affecting API Requests HOT 2
- Add support for *.py files
- Add Floating window for results
- How to check the request time HOT 1
- Integration with OAuth HOT 2
- Help with ipairs HOT 3
- Space encoding from + to %20, or user choice HOT 2
- Unable to find env files in the env selector if they are defined in gitignore HOT 1
- Can't post form data
- Underscore beign substituted by hiphen
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 rest.nvim.