bytecodealliance / bytecodealliance/wstd

Is it possible to append query values?

Aperta
#68 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
feature-request
Lingua principale
Rust
Stelle
133
Fork
19
Merge medio
6g 19h
PR unite (30g)
5

Descrizione

I read through the docs but couldn't find any information on how to append query values to my request. In my case, these are conditional, so some methods on the `Builder` struct would be great.

Sadly, simply appending them to the URL is not enough. The values have to be URL-encoded. A utility method similar to other crates would be great. It could take any `T: Serializable` and append the query values. `reqwest` and `ureq` provide this IIRC.

Thanks for the great library!

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.