Skip to main content
Nintex Community Menu Bar

REST API HTTP 400 response code error

  • May 25, 2021
  • 0 replies
  • 53 views

Forum|alt.badge.img+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"