Describe the bug
let postBody = Body.form({ username: "user", password:"password" });
let res = await client.request({
url: "http://server/primary/auth/",
method: "POST",
body: postBody,
});
the backend get the username with ' "username" ' with double quote sign and password ' "password" ' with double quote sign
how to remove the sign double quote "?
Reproduction
let postBody = Body.form({ username: "user", password:"password" });
let res = await client.request({
url: "http://server/primary/auth/",
method: "POST",
body: postBody,
});
the backend get the username with ' "username" ' with double quote sign and password ' "password" ' with double quote sign
how to remove the sign double quote "?
Expected behavior
No response
Platform and versions
Environment
› OS: Ubuntu 21.10 X64
› Node.js: 17.9.0
› npm: 8.5.5
› pnpm: Not installed!
› yarn: 1.22.11
› rustup: 1.24.3
› rustc: 1.60.0
› cargo: 1.60.0
› Rust toolchain: stable-x86_64-unknown-linux-gnu
Packages
› @tauri-apps/cli [NPM]: 1.0.0-rc.7(outdated, latest: 1.0.0-rc.8)
› @tauri-apps/api [NPM]: 1.0.0-rc.2(outdated, latest: 1.0.0-rc.3)
› tauri [RUST]: 1.0.0-rc.6,
› tauri-build [RUST]: 1.0.0-rc.5,
› tao [RUST]: 0.7.0,
› wry [RUST]: 0.14.0,
App
› build-type: bundle
› CSP: unset
› distDir: ../public
› devPath: http://localhost:8080/
› framework: Svelte
› bundler: Rollup
App directory structure
├─ public
├─ src-tauri
├─ .git
├─ src
├─ .vscode
└─ node_modules
Stack trace
No response
Additional context
No response
Describe the bug
the backend get the username with ' "username" ' with double quote sign and password ' "password" ' with double quote sign
how to remove the sign double quote "?
Reproduction
the backend get the username with ' "username" ' with double quote sign and password ' "password" ' with double quote sign
how to remove the sign double quote "?
Expected behavior
No response
Platform and versions
Stack trace
No response
Additional context
No response