Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I keep hoping one of these clients will add IPython/Jupyter style notebook specifically for REST calls.

I would love to produce a tutorial that has well formatted URLs with params, bodies, headers and pre-saved results that could also be rerun against local server.



I think you should be able to get pretty far by just writing Python code that uses the API; using requests that should be as readable as anything else?

Which brings me to: I just use Python snippets if I want to test a REST API quickly. What am I missing out of by not using these tools?


Yes and no.

If I am writing a tutorial using REST calls, wrapping them in Python syntax is less than effective as a presentation. It also requires Jupiter backend running, which could be a burden to host for a popular multi-user tutorial.

It is something that O'Reilly is experimenting right now with their interactive tutorials, but even for them, it is early days.


You can build this workflow using Postman Collections - chain calls + tests + other logic.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: