Lama2
httpbin
Lama2 | httpbin | |
---|---|---|
7 | 72 | |
97 | 12,406 | |
- | 0.5% | |
8.3 | 0.0 | |
21 days ago | about 2 months ago | |
JavaScript | Python | |
GNU Affero General Public License v3.0 | ISC License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Lama2
- Bruno
-
Faster Blogging: A Developer's Dream Setup
Based on insights and learnings from building our other Open source CLI tool called Lama2, an API Client Manager that is completely built upon Golang and has better compatibility for various OS and OS architectures, we decided to... Continue reading the full article at https://journal.hexmos.com/developer-markdown-blog-hexmos-glee/
-
God bye postman, Welcome DSL HTTP tests with T-Rext
I like to use java or nodejs to automate http tests. But I built this for my functional and testers coworkers because they don't know how to program. They have another skills. At the end I realized that dsl is faster than repetitive http calls and body parsers.
Also if you check this https://gist.github.com/jrichardsz/8f2f8c0d25af7abc1e2f1d80a... in which with one minute run, I automated several http calls. I also generate a report like karate, cucumber, etc
Nice tool bro, I will check it https://github.com/HexmosTech/Lama2 to get some ideas for my framework
PD: Your install readme is similar to mine :b . Were you inspired by NVM?
Thanks for share
-
Collaborate on APIs for free, with Lama2, git and VSCode
Get Source File
-
Lama2: Plain-Text Powered REST API Client for Teams
- Github: https://github.com/HexmosTech/Lama2
Background story:
The story begins more than a year back, when our team at Hexmos wanted to collaborate on APIs in a simple and straightforward way.
Our engineering infrastructure is split into dozens of self-contained software services. We deal with 100s of internal APIs, and so felt a need for a robust workflow for defining, sharing and updating APIs within our teams.
Traditional solutions such as Postman/Insomnia implement the collaboration features within their applications, and also tend to charge a fee for collaboration. We felt using git is the right way to collaborate on APIs, rather than any custom built solution. So, in a matter of 2 days we got a regex-based prototype DSL language to store API files.
Lots of issues cropped up over time, but we kept making improvements to Lama2 as needs arose. We accumulated 100s of API files over time. Then, we decided that the tool deserves to be out there, benefiting teams that want to collaborate on APIs over git. So, to make it happen, first we invested into formalising the grammar, and implementing the DSL as a hand-written recursive descent parser. Then we invested into helpful documentation, demos and so on. Once we had the basics, we released Lama2 into the world.
Future tasks:
- Create human-friendly syntax for specifying websocket APIs, basic testing, etc
- Lama2: Markdown for APIs
-
Introducing Lama2: Plain-Text Powered REST API Client
Github: https://github.com/HexmosTech/Lama2
httpbin
-
How to protect API Keys in React projects using Gateweaver
policyDefinitions: cors: origin: "${CLIENT_URL}" endpoints: - path: "/example" target: url: "https://httpbin.org/bearer" request: headers: Authorization: "Bearer ${API_KEY}" policies: - cors
- Bruno
-
Hardening Apache APISIX with the OWASP's Coraza and Core Ruleset
We proceed to define routes to https://httpbin.org/ to test our setup. Let's call the route to /get:
-
looking for resource site for GET-POST practice (html)
https://httpbin.org/ is an excellent tool for learning (and testing) the basics. Take a few minutes to explore the endpoints they provide. You can also use different response codes to test your apps error handling, etc
-
httpbin alternatives - go-httpbin and java-httpbin
3 projects | 12 Nov 2023
-
Crafting a Language Server in Golang: A VSCode LSP for Lama2
export FABI_PROD="http://httpbin.org/" export FABI_LOCAL="http://0.0.0.0:8000/"
-
Edge IoT with Rust on ESP: HTTP Client
use anyhow; use embedded_svc::http::client::Client; use embedded_svc::wifi::{AuthMethod, ClientConfiguration, Configuration}; use esp_idf_hal::peripherals::Peripherals; use esp_idf_svc::eventloop::EspSystemEventLoop; use esp_idf_svc::http::client::{Configuration as HttpConfig, EspHttpConnection}; use esp_idf_svc::nvs::EspDefaultNvsPartition; use esp_idf_svc::wifi::{BlockingWifi, EspWifi}; fn main() -> anyhow::Result<()> { esp_idf_sys::link_patches(); // Configure Wifi let peripherals = Peripherals::take().unwrap(); let sysloop = EspSystemEventLoop::take()?; let nvs = EspDefaultNvsPartition::take()?; let mut wifi = BlockingWifi::wrap( EspWifi::new(peripherals.modem, sysloop.clone(), Some(nvs))?, sysloop, )?; wifi.set_configuration(&Configuration::Client(ClientConfiguration { ssid: "SSID".into(), bssid: None, auth_method: AuthMethod::None, password: "PASSWORD".into(), channel: None, }))?; // Start Wifi wifi.start()?; // Connect Wifi wifi.connect()?; // Wait until the network interface is up wifi.wait_netif_up()?; // Print Out Wifi Connection Configuration while !wifi.is_connected().unwrap() { // Get and print connection configuration let config = wifi.get_configuration().unwrap(); println!("Waiting for station {:?}", config); } println!("Wifi Connected, Intiatlizing HTTP"); // HTTP Configuration // Create HTTPS Connection Handle let httpconnection = EspHttpConnection::new(&HttpConfig { use_global_ca_store: true, crt_bundle_attach: Some(esp_idf_sys::esp_crt_bundle_attach), ..Default::default() })?; // Create HTTPS Client let mut httpclient = Client::wrap(httpconnection); // HTTP Request Submission // Define URL let url = "https://httpbin.org/get"; // Prepare request let request = httpclient.get(url)?; // Log URL and type of request println!("-> GET {}", url); // Submit Request and Store Response let response = request.submit()?; // HTTP Response Processing let status = response.status(); println!("<- {}", status); match response.header("Content-Length") { Some(data) => { println!("Content-Length: {}", data); } None => { println!("No Content-Length Header"); } } match response.header("Date") { Some(data) => { println!("Date: {}", data); } None => { println!("No Date Header"); } } Ok(()) }
-
Down the rabbit hole of an Apache APISIX plugin
has_domain: whether the matched route references an upstream with a domain, e.g., http://httpbin.org, or not, e.g., 192.168.0.1
- Show HN: HTTP Status Code Generator
- Python Software Foundation forks httpbin
What are some alternatives?
t-rext-demo
echo-server - An HTTP and WebSocket "echo" server for testing proxies and HTTP clients.
vscode-restclient - REST Client Extension for Visual Studio Code
gabbi - Declarative HTTP Testing for Python and anything else
currencyapi-js - The perfect tool to handle your exchange rate conversions. Our API helps you with current and historical foreign exchanges rates. Stop worrying about uptime & outdated data.
novelai-api - Python API for the NovelAI REST API
ain - A HTTP API client for the terminal
azure-docs - Open source documentation of Microsoft Azure
glee - Dev-friendly Blogging Setup
echo-server - An HTTP and WebSocket "echo" server for testing proxies and HTTP clients.
insomnia-plugin - Log API calls with Insomnia
gunicorn - gunicorn 'Green Unicorn' is a WSGI HTTP Server for UNIX, fast clients and sleepy applications.