API - Post a new task

I am getting the following error message in Postman.  

 "Name": "apiTask",
"Message": "The parameter is required as a part of the request body"

Here is my code with most of the api key deleted

POST /v2.2/Tasks HTTP/1.1
Host: api.insight.ly
Accept-Encoding: gzip
Authorization: Basic YWJhMjMxYzctNDg3MS00ZDV
Cache-Control: no-cache

I do not understand how to define the apiTask parameter.  Can you show me a working example of a new task post though the API?

Thanks! 

 

2

Comments

1 comment
  • I know this thread is a year old, I would love to see one as well, potentially in ruby, but any language will do as long as it has a successful sample JSON to go along with it.

    0
    Comment actions Permalink

Please sign in to leave a comment.