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

179
Visualizações
Trying to submit a POST request but form is stating its Empty

Been having this issue for a little while now. i have set up the category_create_post functionality in the categoryController. i believe everything is done correctly by the looks of it. and also set up the category_form.ejs to take in the users input however whenever i submit the form it throws an err saying the category name and description is blank. not able to understand or see why.

thanks

Edit: SOLVED

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

0

Make sure your headers are set correctly especially Content-Type. This heavily depends on the request API you use and the backend. I usually use axios as my request API.

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