私はアンドロイドスタジオアプリケーションのapiを構築して、改造のベースURLを作成したいと考えています。 base_url
に問題があります。私はどのように私はretrofitのbase_urlを作る必要があるか知りたい。 base_url
の検証に問題があります。私は改造のためにbase_urlを作る手順を知りたい。これは私のURLである場合android application's retrofit base_url
-2
A
答えて
1
は http://api.themoviedb.org/3/movie/top_rated?api_key=12345678910111213
はその後、ベースURLはなり
それはretrofit = new Retrofit.Builder()
.baseUrl("http://api.themoviedb.org/");
として渡されると、残りの部分は、GETまたはPOSTになります
クエリ
+0
私は既にムービーデータベースにapiを作成しています。そこにはhttps://www.registration.comというアプリケーションURLも追加しています。だから、私はベースURL http://api.themoviedb.org/またはhttps://www.registration.comとして何を使用しますか?私はそれについて混乱しています。 –
関連する問題
- 1. open other android applications
- 2. Android Retrofit GET
- 3. Android Retrofitポストリクエストマルチパートエンコーディングエラー
- 4. SocketTimeoutException android retrofit
- 5. Android Retrofit POJOモデル
- 6. Android Retrofit POSTリクエストキャッシュ
- 7. RetrofitでのキャッシングAndroid
- 8. Android Retrofit 2 gzipエラー
- 9. Android/Retrofit HAL JSONサポート
- 10. PHP Codeigniter Base_URL
- 11. BASE_URL()メソッドは、
- 12. BASE_URL - GODADY - system codeigniter
- 13. CodeIgniter base_url()failure
- 14. Retrofit 2でAPIキーを渡す - Androidスタジオ
- 15. androidでretrofit 2とxml
- 16. Android OKHttp and Retrofit return 304エラー
- 17. JSON、Retrofit 2、Android用コンバータ
- 18. androidのretrofitの使い方
- 19. Android Retrofit:応答を待つ
- 20. Android Retrofit投稿の問題
- 21. android retrofit 2レスポンスを得る
- 22. Rails:NoMethodError in Applications#index
- 23. OAuth with Desktop Applications
- 24. Autoupdating .net applications
- 25. Symbian and OpenC Applications
- 26. Codeigniter、PHP何が違うのですか?echo base_url()vs base_url()?
- 27. <PHPエコーBASE_URL();?>と<?PHPのBASE_URL();?>
- 28. AndroidでデータをRetrofit 2で転記しない
- 29. Retrofit Java.lang.IllegalArgumentException host == null
- 30. gsoap memory leak C applications
ba se urlは、すべてのリクエストで同じAPI urlの開始部分です。 http://www.check.com/apis/getProductsとhttp://www.check.com/apis/saveToken?token=xyzがAPIの場合のように、base_urlはhttp://www.check.com/ apis/ –