![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Make http request on cli with ease
Use package managers:
npm install -g loh # npm
yarn global add loh # yarn
You can do a fetch request using axios with ease
$ loh fetch --url https://example.com
You can easily rerun previous commands, such as fetch without re-inputting the options
$ loh rerun
# This will run the previous command in the background without having you to retype them
You can also see the list of available commands using the loh help
command.
You can easily do a same fetch request multiple times with the option to set a delay for each request
$ loh fetch -u https://example.com --repeat 10 # Do a fetch request 11 times (repeat the same fetch 10 times)
$ loh fetch -u https://example.com --repeat 10 -wait 2000 # Do a total of 11 fetch request with 2000 milliseconds of delay each
Set a JSON header
$ loh fetch -u https://example.com --headers '{"Authorization":"123456"}' --method POST
Set the request body as text or JSON
$ loh fetch -u https://example.com --body '{"value":"hello"}' --method POST
Set the user agent (Note: a random user agent will be generated and used automatically)
$ loh fetch -u https://example.com --useragent loh
Set a file to save output data
$ loh fetch -u https://example.com --output ./output.txt
$ loh fetch -u https://example.com --output ./output.txt --type 'status|data|timings'
Example output data of the second line:
200
This is a response body
[{"timingEnd":1666711647530,"timingStart":1666711647117,"elapsedTime":413}]
Use a proxy server
$ loh fetch --url https://example.com -p
$ loh proxy '{"proxy":{"host":"proxy-url","port":80,"auth":{"username":"my-user","password":"my-password"}}'
$ loh proxy --remove
loh supports relay-server
$ loh fetch -u https://example.com --relay
$ loh relay --url https://proxy.example.com
$ loh relay --url https://proxy.example.com --remove
$ loh relay
This project is available as open source under the terms of the AGPL-3.0 License
FAQs
http request on cli with ease
We found that loh demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.