Not sure I could use that one.
What I am trying is bind 4 kind of values (27.0, 27, 26.8, 26) to names ( TemperatureAquarium, TemperatureAquariumShrt, TemperatureSump, TemperatureSumpShrt) I can add them static for now, but somehow they have to add in a list first right? before I can serialize...
Seems like I have to use JToken.Parse.
But when I do that, I still got some backslashes and \r\n as well
string json = JsonConvert.SerializeObject(TemperatureList, Formatting.Indented);
var jsonreturn = JToken.Parse(json);
return jsonreturn.ToString();
"[\r\n {\r\n...
Hereby the code
csResponse response = new csResponse();
public class csResponse
{
public int StatusCode { get; set; }
public string ErrorMessage { get; set; }
}
public class csTemperature
{
public string TemperatureAquarium { get; set; }
public string TemperatureAquariumShrt...
Good evening,
I am developing a Web API for the first time, where I should like expect a JSON output.
Whatever I try with a return I still have an invalid response.
This is the output...
Hi Jay,
Yes every Product has its own ProductId, there were no errors in the console so far I've seen.
I solve it to add the simple JS inside the foreach below my button to add them in the cart.
Goodmorning,
I am trying to build a webshop where I've got an issue to add items to a cart.
In my case I have 3 simple Items (Cookies, Cakes and Donuts) and only the first item will be added in the cart by pressing on the add cart button.
I really do not see why it is not working.
<div...
So if I understand you correctly I have to add this inside my site.css and than it should work?
@media print {
body {
-webkit-print-color-adjust: exact !important;
print-color-adjust: exact !important;
}
table {
background-color: blue;
}
td {...
Hi all,
I was wondering if I can print a table inside HTML, I am able to do a print preview but I can't find where I can add some style.
Below my code;
I also made a codepen project, which will be easier to view.
https://codepen.io/Permudious/pen/oNJrwLj
<div class="left">
<div...
Sorry not working..
this is by the way the other side of the form (php page)
$key = $_GET['Key'];
$machineid = $_GET['MachineID'];
$company = $_GET['Company'];
$project = $_GET['Project'];
$contact = $_GET['Contact'];
$mail = $_GET['Mail'];
$actdate = $_GET['ActivationDate'];
$token =...
It should post information into PHP.
Here below the code that I have used. In line 24 there was an error. In your code it was 'httpWebRequest' but this is not in use, so I have changed that to 'ObjRequest'
string url = "http://localhost/index.php";
HttpWebRequest objRequest =...
Hi there,
I have written a code which seems like working but in c# I can't post a JSON request. When I do the same post in Postman, it is working fine.
What do I wrong?
string username = "demo";
string password = "password";
string firstname = "John"...
Thanks! let me try TcpClient.Connect. It's always a local machine.
1594793488
Okay it's kinda working for now.. only I have an if, else if, else case which checks a value if the value is < 10 than the message is -green if the value = 10 than the message is -red.
The value can be changed when the...
Hiya!
I am developing a tool which is using Tenet. I would like to send a command.
I have test this directly in Windows so the parameters should work, but I have no Idea how I can send a command when I press on a button.
This is the code below;
Please keep in mind;
IP = 127.0.0.1 (localhost)...
Hello !
I had just one question . I want my swf going to make a little different for the loading thereof .
I want to change the bars at the top right . Towards the middle like the style of new crypto . Does anyone know where I should look into the swf it is HabboUI editor?
Thank you in...