Andreas Franzén d21613c6ab Bugfix/3929 do not set multipart (#3932)
* Do not set Content-Type to multipart/form-data
It causes superagent to not add the boundary in the Content-Type

* Run shell-scripts
2016-10-08 12:36:56 +08:00

1.5 KiB

SwaggerPetstoreEndRnNR.FakeApi

All URIs are relative to *https://petstore.swagger.io / ' " =end -- \r\n \n \r/v2 */ ' " =end -- \r\n \n \r

Method HTTP request Description
testCodeInjectEndRnNR PUT /fake To test code injection *_/ ' " =end -- \r\n \n \r

testCodeInjectEndRnNR

testCodeInjectEndRnNR(opts)

To test code injection *_/ ' " =end -- \r\n \n \r

Example

var SwaggerPetstoreEndRnNR = require('swagger_petstore____end____rn_n_r');

var apiInstance = new SwaggerPetstoreEndRnNR.FakeApi();

var opts = { 
  'testCodeInjectEndRnNR': "testCodeInjectEndRnNR_example" // String | To test code injection *_/ ' \" =end -- \\r\\n \\n \\r
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.testCodeInjectEndRnNR(opts, callback);

Parameters

Name Type Description Notes
testCodeInjectEndRnNR String To test code injection *_/ ' " =end -- \r\n \n \r [optional]

Return type

null (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json, *_/ =end --
  • Accept: application/json, *_/ =end --