掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
iOS/Android上でRestAPIの実行が非常に遅い (ID:150147)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
takeさん、mamさん ご回答大変ありがとうございます。 残念ながら、下記のContetType、AcceptEncodingのロジックを それぞれ入れて試しましたが、現象は変わらずでした。 DataSnap側の問題の可能性も考えてみたいと思います。 ① RESTClient.ContentType := 'application/json'; ② RESTClient.Params.AddHeader('Content-Type', 'application/json'); ③ RESTRequestParameter := RESTRequest.Params.AddItem; RESTRequestParameter.ContentType := ctAPPLICATION_JSON; RESTRequestParameter.name := 'Content-Type'; RESTRequestParameter.Value := 'application/json'; ④ RESTRequest.AcceptEncoding:='gzip, deflate, br';
←解決時は質問者本人がここをチェックしてください。
戻る
掲示板システム
Copyright 2021 Takeshi Okamoto All Rights Reserved.