Sending Data to SharePoint List From Checkbox HTML Form

I have used a POST before to send list items to SharePoint, although the only items that were included were text inputs so I could call the #id of that input and create the value like so:

var item = {
      "__metadata": { "type": "SP.Data.(ListName)TestListItem" },
      "Title": "No Title",
      "Example": $("#example").val()
};

This application, however, is a bit different and I have never used a method like it before. I have about 8 checkbox inputs that I need to concatenate all into one value, to post to my SharePoint list item “Q6”, which has all of the same options as multiple choice values.

I will have my fiddle attached, but I cannot log the value that I am trying to use for my “Q6”.

Here is my fiddle: https://jsfiddle.net/BeerusDev/y463j5gp/4/

Per Ganesh and I’s comments, I updated var item to the following and I still get a “Bad Request”

var item = {
      "__metadata": { "type": "SP.Data.FeedbackNewHireTestListItem" },
      "Title": "No Title",
      "_x0051_1": $("#q1").val(),
      "_x0051_2": $("#q2").val(),
      "_x0051_3": $("#q3").val(),
      "_x0051_4": $("#q4").val(),
      "_x0051_5": $("#q5").val(),
      "_x0051_6": {"results": selectedValues},
      "_x0051_7": $("#q7").val(),
      "_x0051_8": $("#q8").val(),
      "_x0051_9": $("#q9").val(),
      "_x0051_10": $("#q10").val(),
      "_x0051_11": $("#q11").val(),
      "_x0051_12": $("#q12").val()
  };

WhatsApp sending videos with low quality

Using a Samsung Galaxy A30s and the WhatsApp Messenger (Beta) version 2.21.12.15.

Anytime I send a video, be that filmed within the app or externally, it loses all the image quality.

enter image description here

What can be done to fix it?

linux – Server isn’t sending intermediate certificates correctly

Trying to connect with SSL to another host via a VPN-tunnel, using a self-signed certificate that was issued by a trusted third party. The certificate consists three certificates: 1 certificate, 2 intermediate-certificate, 3 root-certificate.

I have one server (SERVER1 from here on) where the connection works, and another (SERVER2) where it doesn’t.

SERVER1 (Works)

CentOS7, OpenSSLv1.1.1

I don’t remember installing the root/intermediate certificates here via this well-documented procedure. It just works.

(SERVER1)# openssl s_client -connect subdomain.mydomain.tld:443
CONNECTED(00000004)
depth=2 CN = ROOT.CA.0, OU = 0, O = OVC_TST, L = L_PARAMETER, C = NL
verify error:num=19:self signed certificate in certificate chain
verify return:1
depth=1 CN = Issuing.CA.WS.0, OU = 0, O = OVC_DAP, L = L_PARAMETER, C = NL
verify return:1
depth=0 C = NL, ST = PROVINCE, L = CITY, OU = IT, O = O_PARAMETER, CN = *.mydomain.tld
verify return:1
140423307978560:error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:ssl/record/rec_layer_s3.c:1544:SSL alert number 40
---
Certificate chain
 0 s:C = NL, ST = PROVINCE, L = CITY, OU = IT, O = O_PARAMETER, CN = *.mydomain.tld
   i:CN = Issuing.CA.WS.0, OU = 0, O = OVC_DAP, L = L_PARAMETER, C = NL
 1 s:CN = Issuing.CA.WS.0, OU = 0, O = OVC_DAP, L = L_PARAMETER, C = NL
   i:CN = ROOT.CA.0, OU = 0, O = OVC_TST, L = L_PARAMETER, C = NL
 2 s:CN = ROOT.CA.0, OU = 0, O = OVC_TST, L = L_PARAMETER, C = NL
   i:CN = ROOT.CA.0, OU = 0, O = OVC_TST, L = L_PARAMETER, C = NL
---

SERVER2 (Doesn’t work)

Ubuntu20, OpenSSLv1.1.1

I installed the intermediate/root certificates here via this procedure (same URL as mentioned above). I installed the two certificates individually, and also tried merging them into one file and then installing it. All three tried certificate files verify correctly when doing “$openssl verify -verbose”.

I obscured any names/strings in these outputs, but made sure they are consistent with the actual output.

SERVER2:/usr/local/share/ca-certificates$ openssl s_client -connect subdomain.mydomain.tld:443
CONNECTED(00000003)
depth=0 C = NL, ST = PROVINCE, L = CITY, OU = IT, O = O_PARAMETER, CN = *.mydomain.tld
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 C = NL, ST = PROVINCE, L = CITY, OU = IT, O = O_PARAMETER, CN = *.mydomain.tld
verify error:num=21:unable to verify the first certificate
verify return:1
139668700611904:error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:../ssl/record/rec_layer_s3.c:1543:SSL alert number 40
---
Certificate chain
 0 s:C = NL, ST = PROVINCE, L = CITY, OU = IT, O = O_PARAMETER, CN = *.mydomain.tld
   i:CN = Issuing.CA.WS.0, OU = 0, O = OVC_DAP, L = L_PARAMETER, C = NL
 1 s:CN = Issuing.CA.WS.0, OU = 0, O = OVC_DAP, L = L_PARAMETER, C = NL
   i:CN = ROOT.CA.0, OU = 0, O = OVC_TST, L = L_PARAMETER, C = NL
 2 s:CN = ROOT.CA.0, OU = 0, O = OVC_TST, L = L_PARAMETER, C = NL
   i:CN = ROOT.CA.0, OU = 0, O = OVC_TST, L = L_PARAMETER, C = NL
---

The intention is to connect with a third party API on this host using CURL. CURL itself gives the following error: “error 60: SSL certificate problem: unable to get local issuer certificate”.

I have two more servers, besides these two mentioned here. Also CentOS7, Ubuntu20, same setup, with similar VPN tunnels. Here, both connections succeed. It is just this one ‘SERVER2’, that is not working.

After checking out various interesting sources, including: 1, 2, 3, 4, I still cannot find the solution. Could anyone point me in the right direction?

Sending out Newsletters | Forum Promotion

Want to donate towards something I run, or perhaps to just say “thank you”? Consider sending me a tip via PayPal, or with Crypto! I don’t judge.

Feel free to join my support forum for various exchanges! Any support helps! Free Banner Exchange Network Support
Want to list your forum in the Forum Stock Market? Perhaps purchase stock in a forum? Click here to open the topic dedicated to it!

java – Architectural design for sending large amount of analytics data from production servers to s3 without impacting request performance

Lets say we have a server getting upto 1000 requests per second, serving them at p99 of 20ms (strong business case for not increasing this latency). The server gc parameters have been carefully tuned for this performance and current latency is already bottlenecked by gc. We want to log structured data related to requests and responses, ideally 100% of it without dropping anything, to S3 in for example gzipped jsonlines format (analytics will be done on this data, each file should be ideally 100MB-500MB in size). Analytics does not have to be realtime. A few hours of delay, for example, is fine. Also the IOUtilization already approaches 100% so writing this data to disk at any time is likely not an option. All code is in Java.

Solution 1:
Use the threads getting and serving requests as producers and have them enqueue each request/response into blocking buffer(s) with error/edge case handling of buffer being full, exception, etc. This way the producer threads dont get blocked no matter what. Then have a consumer threadpool consume from these buffer(s) in a batched way, compress and send to s3. The upside is that it is a simple(ish) solution. The main downside is that all this is done in the same jvm and might increase allocation rate and degrade performance for main requests? I suspect the main source of new object creation might be during serialization to string (is this true?). Putting objects into a fixed queue size or draining to (using drainTo method on BlockingQueue) to an existing collection should not allocate anything new I think.

Solution 2:
Setup a separate service running on the same host (so separate jvm with its own tuned gc if necessary) that exposes endpoints like locaholhost:8080/request for example. Producers send data to these endpoints and all consumer logic lies in this service (mostly same as before). Downside is that this might be more complex. Also sending data, even to localhost, might block the producer thread (whose main job is to serve requests) and decrease throughput per host?

For Solution 1 or 2 are there any Java compatible libraries (producer/consumer libraries or high performance TCP based messaging libraries) that might be appropriate to use instead of rolling my own?

I know these questions can be answered by benchmarking and making a poc, but looking for some direction in case someone has suggestions or maybe a third way I haven’t though of.

8 – Problem sending mail through a REST API

I have a site developed with Drupal 8. I created a REST API to consume from the app and also from another site and they work well.

What I have not been able to do is send an email through an API I am trying to create. I can send mail from the site with webform, the SMTP is configured correctly, but (for example) when I use “simple_mail_send”, it does not send the mail and yet “result” is true.
I also tried with MailManager and the same thing happens.

Part of the code that I am using

   $to = 'to_mail@gmail.com';
   $from = 'from_mail@email.xx';
   $subject = 'prueba de correo';
   $message ='Prueba de correo usando simple_mail_send';
     
   $result = simple_mail_send($from, $to, $subject, $message);
   
   $resultado = $result;
   return new JsonResponse($resultado);

This is json response:

{
    "id": "simple_mail_simple_mail",
    "module": "simple_mail",
    "key": "simple_mail",
    "to": "to_mail@gmail.com",
    "from": "from_mail@email.xx",
    "reply-to": "from_mail@email.xx",
    "langcode": {},
    "params": {
        "subject": "prueba de correo",
        "body": "Prueba de correo usando simple_mail_send"
    },
    "send": true,
    "subject": "prueba de correo",
    "body": "Prueba de correo usando simple_mail_send",
    "headers": {
        "MIME-Version": "1.0",
        "Content-Type": "text/html; charset=UTF-8;",
        "Content-Transfer-Encoding": "8Bit",
        "X-Mailer": "Drupal",
        "Return-Path": "from_mail@email.xx",
        "Sender": "from_mail@email.xx",
        "From": "Catastro Nacional <from_mail@email.xx>",
        "Reply-to": "from_mail@email.xx"
    },
    "result": true
}

permissions – background SMS sending application rejected

permissions – background SMS sending application rejected – Super User

email – If sending mail using mail server configured for subdomain, can reply/from be set to parent domain?

I’ve setup setup a SMTP provider to use a subdomain mail.foo.com, and I’m running another existing mail service for users on foo.com. When sending out via the SMTP service which is configured on mail.foo.com, does it make a difference to mail deliverability if the FROM or REPLY-TO address of my emails is bar@mail.foo.com or bar@foo.com ? I seem to be able to delver mails through the SMTP service fine with FROM address for either sub or parent domain.

Having replies go to an existing mail user on my existing other service would be nice, but I’m not quite understanding how it’s possible to deliver mail for ‘bar@foo.com’ when SMTP service is setup specifically for mail.foo.com.

Thanks!

7 – Webform stopped sending mail to custom recipient

My webform has stopped working as it was supposed.

I am a webmaster/developer for a website, where journalists have a page for their radio show, and where listeners get access to the episodes. There is also a block with info, and a block with a webform, where the listeners can send an e-mail to the owner of that show.

So we have a node-page, where a webform is in a block, and when anonymous users use the webform, the webform will send a mail to the mail address that belongs to that show/journalist.

In Webform -> E-mails there is a E-mail to address where I chose custom and input is (current-page:node:field_contact).

This has worked fine until a couple a weeks ago, and I have not implemented any updates (that I now of).

Any help is much obliged.

Sending data from Android to Windows over USB without using ADB

I am working on an App that communicates with a Windows PC.

I am aware that I can use ADB with port forwarding to get a TCP communication channel. But for this to work, the user has to enable USB debug mode on his/her mobile device. I want the app to be as simple and accessible as possible, so I refrain from creating more hurdles for the user.

Is there an alternative to ADB for exchanging data between Android and Windows over USB? Does e.g. libusb work without debug mode?

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive Proxies-free.com New Proxy Lists Every Day Proxies123