The form_urlencoded library uses a &str behind the scenes which is not Send causing the feature returned to not be Send either.
Since the serializer itself is not actually needed across .await calls I moved it within a scope so it gets properly disposed of before the .await call.
The form_urlencoded library uses a &str behind the scenes which is not
Send
causing the feature returned to not beSend
either.Since the serializer itself is not actually needed across .await calls I moved it within a scope so it gets properly disposed of before the .await call.