
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
httpc-comp6461
Advanced tools
httpc is a curl-like application but supports HTTP protocol only.
httpc requires Node.js to run.
Install the node dependencies and follow the below steps.
cd your-project-folder
npm i httpc-comp6461
Help:
httpc help
Usage :
httpc command [arguments]
The commands are :
get -> executes a HTTP GET request and prints the response.
post -> executes a HTTP POST request and prints the response.
help -> prints this screen.
Use "httpc help [command]" for more information about a command
Help command for Specific method
help for GET:
httpc help get
usage: httpc get [-v] [-h key:value] URL
Get -> executes a HTTP GET request for a given URL.
help for POST:
httpc help post
usage: httpc post [-v] [-h key:value] [-d inline-data] [-f file] URL
Post -> executes a HTTP POST request for a given URL with inline data or from file.
Get executes a HTTP GET request for a given URL.
httpc get|delete [-v] [-h key:value] URL
| Flag | Description |
|---|---|
| -v | Prints the detail of the response such as protocol, status, and headers. |
| -h key:value | Associates headers to HTTP Request with the format 'key:value'. |
| -p | Specifies the port number |
Post executes a HTTP POST request for a given URL with inline data or from file.
httpc post|put [-v] [-h key:value] [-d inline-data] [-f file] URL
| Flag | Description |
|---|---|
| -v | Prints the detail of the response such as protocol, status, and headers. |
| -h key:value | Associates headers to HTTP Request with the format 'key:value'. |
| -p | Specifies the port number |
| -d string | Associates an inline data to the body HTTP POST request. |
| -f file | Associates the content of a file to the body HTTP POST request. |
| Either [-d] or [-f] can be used but not both. |
GET with query parameters:
httpc get 'http://httpbin.org/get?course=networking&assignment=1'
Output:
{
"args": {
"assignment": "1",
"course": "networking"
},
"headers": {
"Host": "httpbin.org",
"User-Agent": "Concordia-HTTP/1.0"
},
"url": "http://httpbin.org/get?course=networking&assignment=1"
}
GET with verbose option:
httpc get -v 'http://httpbin.org/get?course=networking&assignment=1'
Output:
HTTP/1.1 200 OK
Server: nginx
Date: Fri, 1 Sep 2017 14:52:12 GMT
Content-Type: application/json
Content-Length: 255
Connection: close
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
{
"args": {
"assignment": "1",
"course": "networking"
},
"headers": {
"Host": "httpbin.org",
"User-Agent": "Concordia-HTTP/1.0"
},
"url": "http://httpbin.org/get?course=networking&assignment=1"
}
Post with inline data:
httpc post -h Content-Type:application/json --d '{"Assignment": 1}'
http://httpbin.org/post
Output:
{
"args": {},
"data": "{\"Assignment\": 1}",
"files": {},
"form": {},
"headers": {
"Content-Length": "17",
"Content-Type": "application/json",
"Host": "httpbin.org",
"User-Agent": "Concordia-HTTP/1.0"
},
"json": {
"Assignment": 1
},
"url": "http://httpbin.org/post"
}
httpc -v 'http://httpbin.org/get?course=networking&assignment=1' -o hello.txt
FAQs
httpc is a curl-like application but supports HTTP protocol only.
We found that httpc-comp6461 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.