I am trying to create an application that interfaces with a device that requires messages to be sent as POST with empty bodies. Before starting on it with Tizen I tried the following from within a web browser and it worked fine.
When I tried using the same code in a Tizen Web application it fails. The debug console shows that an HTTP GET request is failing. But I sent my requests as a post. Tizen appears to be changing it somewhere. Looking in the “Network” panel of the Chrome development tools
I also tried using JQuery to make the request to the same effect.
$.ajax({ type:“POST”, url:url, data:null });
Can someone tell my why these requests are getting logged as failed GET requests?
POST requests are being converted to GET requests
I am trying to create an application that interfaces with a device that requires messages to be sent as POST with empty bodies. Before starting on it with Tizen I tried the following from within a web browser and it worked fine.
this.xhttp = new XMLHttpRequest();
this.xhttp.open(“POST”, url);
this.xhttp.send(”);
When I tried using the same code in a Tizen Web application it fails. The debug console shows that an HTTP GET request is failing. But I sent my requests as a post. Tizen appears to be changing it somewhere. Looking in the “Network” panel of the Chrome development tools
I also tried using JQuery to make the request to the same effect.
$.ajax({
type: “POST”,
url: url,
data: null
});
Can someone tell my why these requests are getting logged as failed GET requests?
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio