B b4auser1 Well-Known Member Licensed User Longtime User Oct 30, 2015 #1 OkHttpRequest has SetContentType method. Google API requres to set Content-Length, but I didn't find the method SetContentLength. B4X: ... Content-Type: multipart/related; boundary="foo_bar_baz" Content-Length: number_of_bytes_in_entire_request_body Is there a way to setup Content-Length ?
OkHttpRequest has SetContentType method. Google API requres to set Content-Length, but I didn't find the method SetContentLength. B4X: ... Content-Type: multipart/related; boundary="foo_bar_baz" Content-Length: number_of_bytes_in_entire_request_body Is there a way to setup Content-Length ?
Erel B4X founder Staff member Licensed User Longtime User Nov 1, 2015 #2 The content length is set automatically based on the payload. Upvote 0