Fixed bug with content-type of request
This commit is contained in:
@@ -80,7 +80,6 @@ function showHeadersHistory(element){
|
||||
async function formatJSON(json) {
|
||||
const backend = "java";
|
||||
const address = window.location.protocol + "//" + window.location.hostname + "/" + backend + "/json/formatting";
|
||||
console.log("formatJSON");
|
||||
|
||||
var init = {
|
||||
body: json,
|
||||
@@ -102,7 +101,6 @@ async function formatJSON(json) {
|
||||
async function formatXML(xml) {
|
||||
const backend = "libxml";
|
||||
const address = window.location.protocol + "//" + window.location.hostname + "/" + backend + "/prettify";
|
||||
console.log("formatXML");
|
||||
var data = {
|
||||
data: xml,
|
||||
process: "",
|
||||
|
||||
Reference in New Issue
Block a user