VICE is the best by such a commanding margin that you really needn't look elsewhere. Open source and has the largest community.
However, other options are:
| axios.interceptors.response.use(function (response) { | |
| return response; | |
| }, function (error) { | |
| const originalRequest = error.config; | |
| if (error.response.status === 401 && !originalRequest._retry) { | |
| originalRequest._retry = true; |
VICE is the best by such a commanding margin that you really needn't look elsewhere. Open source and has the largest community.
However, other options are:
| // Run this in the F12 javascript console in chrome | |
| // if a redirect happens, the page will pause | |
| // this helps because chrome's network tab's | |
| // "preserve log" seems to technically preserve the log | |
| // but you can't actually LOOK at it... | |
| // also the "replay xhr" feature does not work after reload | |
| // even if you "preserve log". | |
| window.addEventListener("beforeunload", function() { debugger; }, false) |
| angular.module('appName').factory('RestService', ['Restangular', '$q', function(Restangular, $q){ | |
| var service; | |
| return { | |
| setService: function($serviceName){ | |
| service = Restangular.all($serviceName); | |
| }, | |
| create: function($data){ | |
| var serviceDeferred = $q.defer(); |
| #!/usr/bin/perl | |
| # Script for updating DS records for .dk domains | |
| # | |
| # The following argument must be provided: | |
| # --ns - You authorative nameserver you trust | |
| # --zone - The zone you want to update DS records for | |
| # --handle - Your DKHM handle | |
| # --pasword - Your DKHM password | |
| # |