commandline   19446

« earlier    

How can I send POST and GET data to a Perl CGI script via the command line? - Stack Overflow |
<code class="language-perl">#! /usr/bin/perl
use warnings;
use strict;

use CGI qw/ :standard -debug /;

print "Content-type: text/plain\n\n",
map { $_ . " => " . param($_) . "\n" }

Also interesting:
To give a cgi script post data:
<code class="language-bash">$ echo -n 'a=b;c=d' | REQUEST_METHOD=POST CONTENT_LENGTH=999 perl index.cgi</code>

To give a cgi script get data:
<code class="language-bash">
$ perl index.cgi 'a=b;c=d'</code>

Of *course* that's how CGI works, but it's easy to forget that's how it works.
perl  webdevel  cgi  testing  debugging  commandline  dammitbrain  solution 
3 days ago by kme
some improvements for Windows Services for Linux
linux  windows  unix  commandline 
3 days ago by nelson
hasura/graphqurl: curl for GraphQL with autocomplete, subscriptions and GraphiQL. Also a JS library
Made by the team at, graphqurl is a curl like CLI for GraphQL:

CLI for making GraphQL queries with autocomplete
Run GraphiQL locally against any endpoint
Use as a library with nodejs or from the browser
Supports subscriptions
graphql  curl  tool  commandline  cli 
4 days ago by cothrun
Simple terminal UI for git commands
git  commandline  utility  unix 
5 days ago by meowgorithm
Theme Kit Configuration
This commandline tool works really well and has every command you could need for working on Shopify themes. It's also not dependent on any editor, the way certain tools were (e.g. with TextMate). So you can you use your favorite editor like SublimeText, for example, with this tool.
shopify  theme  development  tool  kit  themekit  documentation  guide  reference  configuration  commandline 
5 days ago by racl101

« earlier    

related tags

-  2018  201807  201808  adding  amazon  animation  annoyance  apps  area  article  assume  auditing  automation  aws  bash  best-of  blogthis  book  books  browser  cartoon  cgi  chart  charts  cheat  cheatsheet  chromecast  cli  client  cmd  cmdline  codeburst  coding  colors  command  commands  comments  configuration  console  controlpanel  conversion  csv  curl  cybersecurity  cygwin  d3  dailymotion  dammitbrain  data  database  debugging  dec  development  devops  digital  directory  docker  documentation  dos  dotfiles  downloading  downloads  drawings  ec2  emulation  eventlogs  example  excellent  explain  fd  find  floss  fuckina  gg  gif  git  github  go  golang  graph  graphicdesign  graphql  grub  gtd  gui  guide  hackernews  history  howto  iam  ifttt  important  installation  internet  javascript  json  kernel  kit  learning  library  linux  list  mac  macos  maintenance  microsoft  movies  networking  node.js  node  nokaslr  onlinetoolkit  opensource  osx  path  pc  perl  pocket  postgresql  powershell  presentation  processmanagement  productivity  programming  programs  python  raspbian_lite  readline  reference  region  reporting  role  ruby  run  scm  scom  screenshot  scrot  scrot_extend  setup  sheet  shell  shopify  simulation  software  solution  ssh  stackoverflow  start  svg  sysadmin  technical  telecom  telecommunications  terminal  terminalutilities  testing  text  textmode  textprocessing  theme  themekit  threathunting  timesharing  timezone  tips  tmux  to  todo  todoapp  tolearn  tool  tools  toread  totry  tounderstand  tsv  tui  tutorial  twitter  unix  utilities  utility  versioning  video  vim  vimeo  visualization  weather  web  webdevel  win7  windows  winforms  wrapper  youtube 

Copy this bookmark: