I am creating an Android application to interact with a webservice. Is it fine if I transmit the server side api credentials as plaintext that is used to authenticate a webservice?
The application has a search functionality and it uses username and password to generate an authentication token.
POST /HTTP/1/1
Accept: application/json
client_id:
client_secret:
Content-Type: application/json
Content-Length: 53
Host:
Connection: close
User-Agent: okhttp/3.7.0
{"Username":"XXXXXXXXXXXXXX", "password": "XXXXXXXXX" }