0
How do I get my url that contains a "+" to be sent by retrofit with "Encode" but currently the result url is:
http://api.xxxx.com.br/aluno?campo=220+2d+
And hence my backend entede this + as a space, which generates me several problems.
The url result I want is this:
http://api.xxxx.com.br/aluno?campo=220%2B2d%2B
What I tried now was to add:
Call<JsonElement> updatealuno(@QueryMap(encoded = true) Map<String, String> campospraupdate);
Utilize
URLEncoder
when adding the value incampospraupdate
– Valdeir Psr
It worked, thank you
– Igor Oliveira