14 Replies Latest reply on Mar 30, 2016 9:49 AM by CurtisG

    Proper curl formatting for Custom Event in Quest?

    stobias123

      I created a quest at rewards.jivesoftware.com (I think this is bunchball?) and created a custom event API trigger to mark the quest as complete.

       

      When I try to send a POST request with cURL I'm getting "Unsupported Media Type". Maybe I'm just being a noob and formatting my curl request wrong, but I can't figure it out. Below is my current curl command.

       

      curl  -X POST -d "{MY_TOKEN}" "https://rewards.jivesoftware.com/api/tenants/{MY_TENANT_ID}/event/{EVENT_ID}/complete/users/{TARGET_USER_EMAIL}"