How to convert application/x-www-form-urlencoded to visual format?

how to convert the request body of grab package into visual reading?


Click webforms
clipboard.png


decode
clipboard.png


clipboard.png
xs.dznxznx


url to json


copy your complete url,. Using this method, you can directly convert

.
String.prototype.parseURL = function() {
    'use strict';
    //url
    var url = this.toString()
    var a = document.createElement('a');
    a.href = url;
    return {
        source: url,
        protocol: a.protocol,
        origin: a.origin,
        hostname: a.hostname,
        port: a.port,
        search: a.search,
        file: (a.pathname.match(/\/([^\/?-sharp]+)$/i) || [, ''])[1],
        hash: a.hash.replace('-sharp', ''),
        pathname: a.pathname.replace(/^([^\/])/, '/$1'),
        relative: (a.href.match(/tps?:\/\/[^\/]+(.+)/) || [, ''])[1],
        segments: a.pathname.replace(/^\//, '').split('/'),
        params: (function() {
            var ret = {};
            var seg = a.search.replace(/^\?/, '').split('&').filter(function(v, i) {
                if (v !== '' && v.indexOf('=')) {
                    return true;
                }
            });
            for (var i = 0, element; element = seg[iPP];) {
                var idx = element.indexOf('=');
                var key = element.substring(0, idx);
                var val = element.substring(idx + 1);
                ret[key] = val;
            }
            return ret
        })()
    }
};


'http://www.a.com/index.html?a=1&b=2'.parseURL().params//{a:1,b:2}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3c08e-2ba5b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3c08e-2ba5b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?