From 579fee68fd8bcc629d79e7da561d7a8fc5b79b6d Mon Sep 17 00:00:00 2001 From: booboy Date: Tue, 24 Jul 2018 00:28:13 -0500 Subject: [PATCH] just added another GET request example for restclient --- .bashrc | 23 ++++++++++++++ emacs/rest_client.org | 70 +++---------------------------------------- 2 files changed, 27 insertions(+), 66 deletions(-) create mode 100644 .bashrc diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..60e523e --- /dev/null +++ b/.bashrc @@ -0,0 +1,23 @@ +# +# ~/.bashrc +# + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +[[ -f ~/.bash_functions ]] && . ~/.bash_functions +[[ -f ~/.bash_aliases ]] && . ~/.bash_aliases +[[ -f ~/.envars ]] && . ~/.envars + +source `which activate.sh` || echo 'install autoenv to properly use auto +environment switching in python' + +PATH="/usr/bin/core_perl:/home/booboy/.gem/ruby/2.5.0/bin:/home/booboy/perl5/bin${PATH:+:${PATH}}"; export PATH; +PERL5LIB="/home/booboy/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB; +PERL_LOCAL_LIB_ROOT="/home/booboy/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT; +PERL_MB_OPT="--install_base \"/home/booboy/perl5\""; export PERL_MB_OPT; +PERL_MM_OPT="INSTALL_BASE=/home/booboy/perl5"; export PERL_MM_OPT; +export EDITOR="vim" +export LIBVIRT_DEFAULT_URI="qemu:///system" + +source ~/.pastebin_key diff --git a/emacs/rest_client.org b/emacs/rest_client.org index 89b21d7..98f9ba1 100644 --- a/emacs/rest_client.org +++ b/emacs/rest_client.org @@ -3,72 +3,10 @@ *** fold/unfold with tab ** #Example GET Request - #+BEGIN_SRC restclient + #+BEGIN_SRC restclient :results replace GET https://www.google.com #+END_SRC - #+RESULTS: -#+BEGIN_SRC html -Google



 

Advanced searchLanguage tools

© 2018 - Privacy - Terms

- - - - - - - - - - - - - - - - - - - - - + +#+BEGIN_SRC restclient :results replace +GET https://ipinfo.io #+END_SRC