%%rest : HTTP REST magic for IPython.
Intended to provide similar functionality as restclient.el - HTTP REST client tool for Emacs.
Usage
In [1]: %load_ext restmagic
In [2]: %%rest
...: POST https://httpbin.org/post
...: Content-Type: application/json
...: Authorization: Bearer $mytoken
...:
...: {
...: "some": "data",
...: "array here": [
...: "item 1",
...: "item 2"
...: ]
...: }
Out [2]: <Response [200]>
Examples
See notebooks:
Installation
Package can be installed from the PyPI by executing:
pip install restmagic
Development version can be installed by executing:
pip install git+https://github.com/b3b/ipython-restmagic
Package can be uninstalled by executing:
pip uninstall restmagic
Metadata
Release files for restmagic 0.7.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| restmagic-0.7.2.tar.gz | 11.1 kB | Details |
Release files / restmagic-0.7.2.tar.gz
| Download URL | restmagic-0.7.2.tar.gz |
|---|---|
| Size | 11.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9e71e1ef22e9ab7853d141ed4a4f99ad277a79b1129b6b6cf1e886d6f7bccbad
|
|
BLAKE2b-256 checksum How to use checksums |
fb218732a279451b1caef05f8d455b3bf3f54c1d6ad712f5fa4557e1d57549f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.10
|