pump-io / pump.io

Social server with an ActivityStreams API
http://pump.io/
Apache License 2.0
2.22k stars 333 forks source link

pump-repl #1514

Open strugee opened 6 years ago

strugee commented 6 years ago

I continually have a problem in development where it's hard to actually interact with the API because of all the OAuth stuff. I'd like to write a pump-repl or something which would basically get you a vanilla Node.js REPL, except that it'd have a bunch of convenience wrappers for requests. So you could do something like e.g. http.get('/api/users/testuser) or something and that would automatically send the request to the right server and wrapped with the right OAuth signatures.

evanp commented 6 years ago

This should be a lot easier with OAuth 2.0. No signatures; just a token.