Got "Title can't be blank" error while create a Topic using node js

var request = require("request");

var options = { method: 'POST',
  url: 'https://myforumurl/posts',
     'cache-control': 'no-cache',
     'content-type': 'multipart/form-data',
     'Api-Key': 'api key',
      'Api-Username': 'username'

   { title: 'TItle more than 15 chars ssssssssssssssssssssssssssssss' ,
     raw: 'sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss'
     created_at: '2019-10-07',

} };

request(options, function (error, response, body) {
  if (error) throw new Error(error);


While try using postman i can create the post. But while using node js . i can't understand why this happens. I got error
{"action":"create_post","errors":["Title can't be blank","Title is too short (minimum is 15 characters)","Title seems unclear, is it a complete sentence?"]}

Try deleting the longstring of ss. Also make the body have words in it.

Thanks @pfaffman for reply

I found the solution.
while i change content-type to form urlencoded and change formData to form. it works and create a new post

@pfaffman, I need help while I update a post content. I got the following error

Something has gone wrong. Perhaps this topic was closed or deleted while you were looking at it?

what is this error means

 var options = { method: 'PUT',
                    url: API_URL+'/posts/'+post_id,
                    'cache-control': 'no-cache',
                    'Content-Type': 'application/x-www-form-urlencoded',
                    'Api-Key': API_KEY,
                    'Api-Username': 'username',
                    'Accept' : 'application/json'
                     'post[cooked]': final_cooked,
               } };

Body is too short (minimum is 20 characters)","Body seems unclear, is it a complete sentence?