Design Introduction “Air” Styles Mobile Design Principles Styles UX Overview Design Patterns UI Components for Tizen App Design 2.3 TV Design Principles Styles UX Overview Patterns UI Components Wearable Development Tizen Studo Overview Download Tizen Extensions for Visual Studio Family IoT extension SDK Docs Blog Blog Announcing the Tizen Studio 3.7 Release Announcing the Tizen Studio 3.1 Release Community Forums General Support Tizen .NET Web Application Development Native Application Development SDK & IDE Design Introduction “Air” Styles Mobile Design Principles Styles UX Overview Design Patterns UI Components for Tizen App Design 2.3 TV Design Principles Styles UX Overview Patterns UI Components Wearable Development Tizen Studo Overview Download Tizen Extensions for Visual Studio Family IoT extension SDK Docs Blog Blog Announcing the Tizen Studio 3.7 Release Announcing the Tizen Studio 3.1 Release Community Forums General Support Tizen .NET Web Application Development Native Application Development SDK & IDE
HTTP POST request missing body
I’m trying to send data from my Gear S to my laptop via wifi. I run a simple java socket server on my laptop
that prints what it receives and sends a HTML message back. Everything works just fine when I test my server
with an extension of Google Chrome called “Advanced Rest Client”. But when I try to send something from my
Gear S, it appears the actually message itself isn’t included. The weird thing is that the content-length field is
correct. The code of my web application is:
I get the following output when I receive this message on my server:
POST / HTTP/1.1
Host: 192.168.0.226:8080
User-Agent: Mozilla/5.0 (Linux; Tizen 2.2.1.4; SAMSUNG SM-R750) AppleWebKit/538.1 (KHTML, like Gecko) Version/2.2.1.4 Mobile Safari/538.1
Origin: file://
Content-Type: application/text
Accept: */*
Accept-Charset: iso-8859-1, utf-8, utf-16, *;q=0.1
Accept-Encoding: gzip, deflate
Accept-Language: en-GB
Connection: Keep-Alive
Content-Length: 9
And normally the text appears under “Content-Length: 9”. What am I forgetting/doing wrong?
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio