Home > Q&A > body text
PHP中文网2017-04-17 15:31:18
Problem solved: Import first
const qs = require('querystring');
The Chinese part is processed using qs.escape()
qs.escape()
let url = 'http://此处省略:8080/reservations/plus1?name=' + qs.escape(name) +'&location='+floor;