When accessing my API from a web application, I'm using ajax to send get
and post
requests.
Since I'm new to this, I'm curious about the security implications related to the content type being used.
Currently, I know of two content types that can be used for POSTing data:
Base64encoded URL.
JSON
If I send the data as an encoded URL, it will be visible in the query string.
Even though Base64encoding is used, is it still a risky method for sending sensitive information?
I've read several articles stating that using JSON or URL encoding doesn't have a significant impact on security.
What specific security risks should I be aware of when considering the content type for transferring data between the application and the API?