Remove the restclient section
This commit is contained in:
parent
6c0cded371
commit
6e1e348db7
38
README.org
38
README.org
@ -6651,44 +6651,6 @@ src_emacs-lisp{(call-interactively 'consult-bookmark)} is {{{kbd(C-x r b)}}}.
|
|||||||
(osm "Tower of London")
|
(osm "Tower of London")
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** [[https://github.com/pashky/restclient.el#readme][Restclient]]
|
|
||||||
:PROPERTIES:
|
|
||||||
:CUSTOM_ID: sec:restclient
|
|
||||||
:END:
|
|
||||||
|
|
||||||
[[https://github.com/pashky/restclient.el#readme][Restclient]] is a tool to manually explore and test =HTTP= =REST= webservices. It
|
|
||||||
runs queries from a plain-text query sheet and displays results as images,
|
|
||||||
pretty-printed =XML=, and pretty-printed =JSON=.
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp -n :results silent
|
|
||||||
(ensure-package-installation 'restclient)
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
#+caption[Explore =PEP-691= and =PEP-700= with =restclient=]:
|
|
||||||
#+caption: Explore =PEP-691= and =PEP-700= with =restclient=.
|
|
||||||
#+name: lst:restclient-pep-691-700
|
|
||||||
#+begin_src restclient -n :results client
|
|
||||||
# Get the JSON project list from PyPI using PEP-691 and PEP-700
|
|
||||||
GET https://pypi.org/simple
|
|
||||||
Accept: application/vnd.pypi.simple.latest+json
|
|
||||||
|
|
||||||
# Get the JSON project details of "circular-buffer" using PEP-691 and PEP-700
|
|
||||||
GET https://pypi.org/simple/circular-buffer
|
|
||||||
Accept: application/vnd.pypi.simple.latest+json
|
|
||||||
|
|
||||||
# Get the JSON project details of "holygrail" using PEP-691 and PEP-700
|
|
||||||
GET https://pypi.org/simple/holygrail
|
|
||||||
Accept: application/vnd.pypi.simple.latest+json
|
|
||||||
|
|
||||||
# Get the JSON project details of "pipdeptree" using PEP-691 and PEP-700
|
|
||||||
GET https://pypi.org/simple/pipdeptree
|
|
||||||
Accept: application/vnd.pypi.simple.latest+json
|
|
||||||
|
|
||||||
# Get the JSON project details of "numpy" using PEP-691 and PEP-700
|
|
||||||
GET https://pypi.org/simple/numpy
|
|
||||||
Accept: application/vnd.pypi.simple.latest+json
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
*** [[info:url#Top][URL (info)]] :noexport:
|
*** [[info:url#Top][URL (info)]] :noexport:
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:CUSTOM_ID: sec:url
|
:CUSTOM_ID: sec:url
|
||||||
|
Loading…
Reference in New Issue
Block a user