Getting partial JSon response for HTTP GET request
Getting partial JSon response for HTTP GET request
BY 06 Jun 2013Native Application Development
We are making a GET request for wordpress api ( :http://developer.wordpress.com/docs/api/1/get/freshly-pressed/).This api returns a json response of 10 freshly pressed posts .Each post consists of text as well as image data.We tested this api on desktop browser and the response data size is nearly 45-50 kb.
However, on Tizen simulator as well as on device we are getting data of only 2 posts.The callback function OnTransactionReadyToRead gets called 6 to 7 times and each time we receive certain chunk of data.However , execution suddenly goes to OnTransactionComplete callback function.
We tested one more api where the response size is small and in that case we received full proper response.
What changes need to be done to receive full response of this api?
void
BloggPressApiInterface::OnTransactionReadyToRead(HttpSession& httpSession, HttpTransaction& httpTransaction, int availableBodyLen)
Getting partial JSon response for HTTP GET request
What changes need to be done to receive full response of this api?
void
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio