title: GET request works on browser but fails on Android app with Retrofit
body: <p>I'm trying to request data from an API using the GET request. It works well on browser as I'm able to see the JSON response, but when I try to use the same request on my Android app I get a Forbidden message from the response, no JSON object. I'm using Retrofit for my GET request. Am I formatting my request correctly when using Retrofit? Here's the URL</p>
  <pre><code>    http://www.omdbapi.com/?i=tt3896198&amp;apikey=MY_API_KEY
  </code></pre>
  <p>My ApiService file</p>
  <pre><code>    private const val BASE_URL = &quot;http://www.omdbapi.com&quot;
      
      private val retrofit = Retrofit.Builder()
          .addConverterFactory(ScalarsConverterFactory.create())
          .baseUrl(BASE_URL)
          .build()
    
      interface MovieApiService {
          @GET(&quot;/&quot;)
          fun getMovieInfo(@Query(&quot;i&quot;) imdbID: String, @Query(&quot;apikey&quot;) key: String): Call&lt;String&gt;
      }
  </code></pre>
  <p>My function</p>
  <pre><code>    private fun getMovieInfo() {
          val apiKey = BuildConfig.API_KEY
          MovieApi.retrofitService.getMovieInfo(&quot;tt3896198&quot;, apiKey).enqueue(
              object : Callback&lt;String&gt; {
                  override fun onResponse(call: Call&lt;String&gt;, response: Response&lt;String&gt;) {
                      _response.value = response.message()
                  }
                  override fun onFailure(call: Call&lt;String&gt;, t: Throwable) {
                     _response.value = &quot;Failure: ${t.message}&quot;
                  }
              }
          )
      }
  </code></pre>