Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

184
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!