Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

136
Visualizações
How to make a minimal request in JS?

I'm trying to send one byte to my server, but with headers all my requests contain at least around 500 bytes; Ajax, jQuery, Fetch - All of them add a big bunch of headers and there is no way to remove them.

Of course, a request is the wrong way to do this. Only I have no experience with sockets in JS and PHP. How do I send minimal bytes with JS and receive them with PHP?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

There is no way to do this. Every packet of every protocol uses more than 1 byte. No matter if it's TCP, UDP or something else. After all, they have to know where to go.

So there is no way to send only one byte over the internet.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda