William Gunnells
dockerdash-ui
420b22a
raw
history blame contribute delete
258 Bytes
function jsonToPayloadString(json) {
// return a string with the following format: "key1=value1&key2=value2..."
let result = ''
for (let key in json) {
result += `${key}=${json[key]}&`
}
return result.slice(0, -1)
}
export default jsonToPayloadString;