paulhitz / DnB-REST-Client

Custom REST Client for D&B (Dun & Bradstreet) services.
https://github.com/paulhitz/DnB-REST-Client
MIT License
5 stars 5 forks source link

Persisting requests/responses #17

Closed paulhitz closed 9 years ago

paulhitz commented 9 years ago

It would be very useful to keep a history of previous requests and responses.

(E.g. by using localstorage)

paulhitz commented 9 years ago

The request/responses are now stored using localStorage. There's no UI to display these in the tool since it would ramp up the complexity and one of the primary goals of the tool is to keep things simple.

paulhitz commented 9 years ago

Just a note on this. I toyed with the idea of using chrome.storage... E.g. chrome.storage.local.set({key: entry});

This would have meant it wouldn't matter if you used incognito mode or not. However, chrome.storage isn't displayed in DevTools unless you install an extension for it. As a result, standard HTML5 localStorage is the best option for now.