REST API HTTP 400 response code error


Badge +1

Attempting to post add request from k2 to external application (service desk plus)  

Confirmed the swagger file has no issues running from swagger.io 

Unable to get K2 to post data. from the REST API Service

{
"swagger": "2.0",
"info": {
"description": "defaultDescription",
"version": "0.1",
"title": "defaultTitle"
},
"host": "localhost:8181",
"paths": {
"/api/v3/requests": {
"post": {
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "input_data",
"in": "query",
"required": false,
"type": "string",
"x-example": "{ ""request"":{ ""subject"": ""Test Ticket 10"


0 replies

Be the first to reply!

Reply