Webview:无法将参数转换为json

时间:2019-07-04 15:14:37

标签: android json webview parameters data-conversion

webview中的错误。我在webview OnConsoleMessage中得到了HTML响应,但是我需要将JSON传递给android中的另一页。

Below is the response.
<head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>Authentication</title>
      </head>
      <body>
        <form name="form" method="POST" action="https://coreflutterwaveprod.com/flwmpgs/callback?hxd=FLWda5a6990a9904ee6a16d49373c63750d"><input type="hidden" name="MD" value=""><input type="hidden" name="PaRes" value="eNrVWVmvo0qSfrfk/3B1+9Fzix3bLdeRktXYgM1q4I3NmB0DNsuvn/Q5VbdqqqvU1fMyGqSjk0RGRkZGxBeRgXfmrY1jzojDRxu/7ZS46/wk/iONPv+Jo/DB0M2GRNfrP992Z6DH3ftM47dxl0affuR4xm2X1tUb9gn9hO+Qr69Qahve/Kp/2/nhnZHUN4qgCAzdIV9ed2XcStwbgVJrQcbWO+TjfYd8W3h+vEYdVHFMozdkENGG0vPpdi9NWSXsw3X9YFbT1lQ+75AXxy7y+/gNR7EtukbJPzDqnyjxz9eW7/Rd8xIHyvoBZVMoJH9P2EFbtHEVTm8UTe+Qv9928djUVQw54OH+Hu+Qb7o1fvWGfveQFEpB2ZC6M523XZ+W/6ITAY/7Tt91vd8/ujd3h3wZ7UL/+XzLBKdm5Q2xPx5rluEBYDYoIEMAH3jWd5ZdHKZv6Esp+P99FSiSuk37W/lGfPB8I+yQlyrIuzffdkaaVHCzNv5jLIuq+/znre+bfyLIMAyfBuJT3SbIy8sIukUgQ9SlyT/+/FgVR1J1rf+jZaxf1VUa+kU6+z2MDCXub3X0x9+6/UyMqb8kYYjOs39BUX+FGFn99aKgBEZBmcjPhX53st/Z5Udl287/q7v52GuDHwS97fT4Gr8iIv7D0qXPf/7jV3Dg0iTu+v/N9l+3/l7CV3m2Xzzit7XFOmsL0e2H3FhXbOyOIZ4TuqaQ1uev6z44d8jf+n45zIfnvrPQB2NSY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ow3TSdAi8KMcxfvWc7lv+5mCqVKfgdl5fi9WE3OrlonNoOmqzaxtMXePJftHaIp24QcTgGW60m5nRtUrxjsfiwQ3uE8Fpuqp0Jp5E90IIw2Q/NjIGWHe50EKUBGwer9C1KiHA25wczajjoOZ50TpROIqs6RoLeZ065du9nqLZgdvwNJltIr4naCVM0IN/1NLlgsuMWzGZAwkYd5o9zB4LFEm59joE9ajyp1Nds2gbimrFNpLhKJcKV0tvj2ljKvR4JnkbbRYIBPpupRCp2/rRbfvw/EcRq/fDVj4fW8QXBC6IUeaJnuXg6ZwqoRlO4/Nw4i5WtmHBAFtI/8SsTZahM3D+iKe9rvAsB8RXqgUJDxRAvqdZbuAZZND4Fx6ZDETvvBrJC4lmDSZoK5246dhKyrDHCK8+/b0+MyWerTtYssJvJQuWqer4+yULprv/EKm/wilE8H+I1J+XLB4sF2tYN9omZND7hsuTgT2HJpH/LBeBE4xnHhDF4eHaUTphGC9bV+YqP9KATKDFzSDnIltm+GPdjehkceEcO7VpnTKGD7folTrqWdDEZJMWJ+iS6qxaYpMSHlsYK3TqTKah9cidseUivqqy8fDNQ98cmpo95RhSDfRlVR34y8Q5Vsgik33vei+NwpNIA+V6tEiepWZG5WWPFa/YVCl4sYLXjOGZh5z1JF087pEKUe/SkZmnQTROeV9nZumj+T7IQUw3GZ3SlNkMfMI302AX
2019-07-04 16:03:45.505 30685-30685/com.hitee.order24customerapp D/LOGGER: <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>Authentication</title>
      </head>
      <body>
        <form name="form" method="POST" action="https://coreflutterwaveprod.com/flwmpgs/callback?hxd=FLWda5a6990a9904ee6a16d49373c63750d"><input type="hidden" name="MD" value=""><input type="hidden" name="PaRes" value="eNrVWVmvo0qSfrfk/3B1+9Fzix3bLdeRktXYgM1q4I3NmB0DNsuvn/Q5VbdqqqvU1fMyGqSjk0RGRkZGxBeRgXfmrY1jzojDRxu/7Z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8+/b0+MyWerTtYssJvJQuWqer4+yULprv/EKm/wilE8H+I1J+XLB4sF2tYN9omZND7hsuTgT2HJpH/LBeBE4xnHhDF4eHaUTphGC9bV+YqP9KATKDFzSDnIltm+GPdjehkceEcO7VpnTKGD7folTrqWdDEZJMWJ+iS6qxaYpMSHlsYK3TqTKah9cidseUivqqy8fDNQ98cmpo95RhSDfRlVR34y8Q5Vsgik33vei+NwpNIA+V6tEiepWZG5WWPFa/YVCl4sYLXjOGZh5z1JF087pEKUe/SkZmnQTROeV9nZumj+T7IQUw3GZ3SlNkMfMI302AX
2019-07-04 16:03:51.397 30685-30685/com.hitee.order24customerapp D/LOGGER: <head>
        <title>
        </title>
    </head>
    <body>{"id":64010036,"txRef":"FESBE1AB0DA-C53","orderRef":"URF_1562252583508_8606735","flwRef":"FLW160366377","redirectUrl":"N/A","device_fingerprint":"9a9d1e40-81a8-4","settlement_token":null,"cycle":"one-time","amount":5,"charged_amount":5,"appfee":0.07,"merchantfee":0,"merchantbearsfee":1,"chargeResponseCode":"00","raveRef":"RV3156225257270579106BBBDF","chargeResponseMessage":"Pending, Validation","authModelUsed":"VBVSECURECODE","currency":"NGN","IP":"::ffff:10.43.181.165","narration":"CARD Transaction ","status":"successful","modalauditid":"9cec9854feba534e2b3a19f82573b58b","vbvrespmessage":"Transaction Approved","authurl":"https://coreflutterwaveprod.com/flwmpgs/trxauth?hid=FLWda5a6990a9904ee6a16d49373c63750d","vbvrespcode":"00","acctvalrespmsg":null,"acctvalrespcode":"918515000655","paymentType":"card","paymentPlan":null,"paymentPage":null,"paymentId":"1711402","fraud_status":"ok","charge_type":"normal","is_live":0,"retry_attempt":null,"getpaidBatchId":null,"createdAt":"2019-07-04T15:03:03.000Z","updatedAt":"2019-07-04T15:03:49.000Z","deletedAt":null,"customerId":36717660,"AccountId":28342,"chargeToken":{"user_token":"00290","embed_token":"flw-t0-2c321deafaaac7523f6c62b98214c885-k3n"}}

    </body>

0 个答案:

没有答案