My CURL request is,
curl -X POST "https://mysite.com/posts.json" \
-H "Api-Key: mykey" \
-H "Api-Username: system" \
-H "title: How many hours are in a year and How many seconds are in a year?" \
-H "raw: this is my first topic by api, lets see if it works or not"
I am getting this error in console,
What am i doing wrong? i have tried to use a longer title too.
Can you provide me a sample code to make a new topic by CURL and by postman ?