Primeiro, adicione ao build.gradle de nível de projeto:
buildscript {
repositories {
//...
maven {
url "https://plugins.gradle.org/m2/"
}| /** | |
| * Implementation of [SSLSocketFactory] that adds [TlsVersion.TLS_1_2] as an enabled protocol for every [SSLSocket] | |
| * created by [delegate]. | |
| * | |
| * [See this discussion for more details.](https://github.com/square/okhttp/issues/2372#issuecomment-244807676) | |
| * | |
| * @see SSLSocket | |
| * @see SSLSocketFactory | |
| */ | |
| class Tls12SocketFactory(private val delegate: SSLSocketFactory) : SSLSocketFactory() { |
Postman is a usefull app to build and test APIs, most commonly installed on ubuntu-like systems via snap. On recent distributions of Linux Mint (20 and above), snap installs are no longer possible. The instructions below show how to install Postman via the terminal.
$ wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz
$ sudo tar -xzf postman.tar.gz -C /opt