query
curl --request POST \
--url .../Accounts/EmailTest?testAddress=Somethingfetch('.../Accounts/EmailTest?testAddress=Something', {
method: 'POST',
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});const request = require('request');
const options = {
method: 'POST',
url: '.../Accounts/EmailTest?testAddress=Something',
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});import requests
url = ".../Accounts/EmailTest?testAddress=Something"
headers = {
}
response = requests.POST(url, headers=headers)body
Success
{
"id": "",
"title": "",
"firstName": "",
"lastName": "",
"email": "",
"role": "",
"created": "",
"updated": "",
"isVerified": "",
"jwtToken": ""
}curl --request POST \
--url .../Accounts/authenticate \
--body '{"email":"","password":""}'fetch('.../Accounts/authenticate', {
method: 'POST',
body: {
"email": "",
"password": ""
},
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});const request = require('request');
const options = {
method: 'POST',
url: '.../Accounts/authenticate',
body: {
"email": "",
"password": ""
},
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});import requests
url = ".../Accounts/authenticate"
headers = {
}
body = {
"email": "",
"password": ""
}
response = requests.POST(url, headers=headers, body=body)Success
{
"id": "",
"title": "",
"firstName": "",
"lastName": "",
"email": "",
"role": "",
"created": "",
"updated": "",
"isVerified": "",
"jwtToken": ""
}curl --request POST \
--url .../Accounts/refresh-tokenfetch('.../Accounts/refresh-token', {
method: 'POST',
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});const request = require('request');
const options = {
method: 'POST',
url: '.../Accounts/refresh-token',
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});import requests
url = ".../Accounts/refresh-token"
headers = {
}
response = requests.POST(url, headers=headers)body
curl --request POST \
--url .../Accounts/revoke-token \
--body '{"token":""}'fetch('.../Accounts/revoke-token', {
method: 'POST',
body: {
"token": ""
},
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});const request = require('request');
const options = {
method: 'POST',
url: '.../Accounts/revoke-token',
body: {
"token": ""
},
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});import requests
url = ".../Accounts/revoke-token"
headers = {
}
body = {
"token": ""
}
response = requests.POST(url, headers=headers, body=body)body
{
"title": "",
"firstName": "",
"lastName": "",
"email": "",
"password": "",
"confirmPassword": "",
"acceptTerms": ""
}curl --request POST \
--url .../Accounts/register \
--body '{"title":"","firstName":"","lastName":"","email":"","password":"","confirmPassword":"","acceptTerms":""}'fetch('.../Accounts/register', {
method: 'POST',
body: {
"title": "",
"firstName": "",
"lastName": "",
"email": "",
"password": "",
"confirmPassword": "",
"acceptTerms": ""
},
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});const request = require('request');
const options = {
method: 'POST',
url: '.../Accounts/register',
body: {
"title": "",
"firstName": "",
"lastName": "",
"email": "",
"password": "",
"confirmPassword": "",
"acceptTerms": ""
},
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});import requests
url = ".../Accounts/register"
headers = {
}
body = {
"title": "",
"firstName": "",
"lastName": "",
"email": "",
"password": "",
"confirmPassword": "",
"acceptTerms": ""
}
response = requests.POST(url, headers=headers, body=body)body
curl --request POST \
--url .../Accounts/verify-email \
--body '{"token":""}'fetch('.../Accounts/verify-email', {
method: 'POST',
body: {
"token": ""
},
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});const request = require('request');
const options = {
method: 'POST',
url: '.../Accounts/verify-email',
body: {
"token": ""
},
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});import requests
url = ".../Accounts/verify-email"
headers = {
}
body = {
"token": ""
}
response = requests.POST(url, headers=headers, body=body)body
curl --request POST \
--url .../Accounts/forgot-password \
--body '{"email":""}'fetch('.../Accounts/forgot-password', {
method: 'POST',
body: {
"email": ""
},
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});const request = require('request');
const options = {
method: 'POST',
url: '.../Accounts/forgot-password',
body: {
"email": ""
},
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});import requests
url = ".../Accounts/forgot-password"
headers = {
}
body = {
"email": ""
}
response = requests.POST(url, headers=headers, body=body)body
curl --request POST \
--url .../Accounts/validate-reset-token \
--body '{"token":""}'fetch('.../Accounts/validate-reset-token', {
method: 'POST',
body: {
"token": ""
},
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});const request = require('request');
const options = {
method: 'POST',
url: '.../Accounts/validate-reset-token',
body: {
"token": ""
},
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});import requests
url = ".../Accounts/validate-reset-token"
headers = {
}
body = {
"token": ""
}
response = requests.POST(url, headers=headers, body=body)body
{
"token": "",
"password": "",
"confirmPassword": ""
}curl --request POST \
--url .../Accounts/reset-password \
--body '{"token":"","password":"","confirmPassword":""}'fetch('.../Accounts/reset-password', {
method: 'POST',
body: {
"token": "",
"password": "",
"confirmPassword": ""
},
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});const request = require('request');
const options = {
method: 'POST',
url: '.../Accounts/reset-password',
body: {
"token": "",
"password": "",
"confirmPassword": ""
},
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});import requests
url = ".../Accounts/reset-password"
headers = {
}
body = {
"token": "",
"password": "",
"confirmPassword": ""
}
response = requests.POST(url, headers=headers, body=body)curl --request GET \
--url .../Accountsfetch('.../Accounts', {
method: 'GET',
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});const request = require('request');
const options = {
method: 'GET',
url: '.../Accounts',
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});import requests
url = ".../Accounts"
headers = {
}
response = requests.GET(url, headers=headers)body
{
"title": "",
"firstName": "",
"lastName": "",
"role": "",
"email": "",
"password": "",
"confirmPassword": ""
}Success
{
"id": "",
"title": "",
"firstName": "",
"lastName": "",
"email": "",
"role": "",
"created": "",
"updated": "",
"isVerified": ""
}curl --request POST \
--url .../Accounts \
--body '{"title":"","firstName":"","lastName":"","role":"","email":"","password":"","confirmPassword":""}'fetch('.../Accounts', {
method: 'POST',
body: {
"title": "",
"firstName": "",
"lastName": "",
"role": "",
"email": "",
"password": "",
"confirmPassword": ""
},
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});const request = require('request');
const options = {
method: 'POST',
url: '.../Accounts',
body: {
"title": "",
"firstName": "",
"lastName": "",
"role": "",
"email": "",
"password": "",
"confirmPassword": ""
},
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});import requests
url = ".../Accounts"
headers = {
}
body = {
"title": "",
"firstName": "",
"lastName": "",
"role": "",
"email": "",
"password": "",
"confirmPassword": ""
}
response = requests.POST(url, headers=headers, body=body)path
Success
{
"id": "",
"title": "",
"firstName": "",
"lastName": "",
"email": "",
"role": "",
"created": "",
"updated": "",
"isVerified": ""
}curl --request GET \
--url .../Accounts/{id}fetch('.../Accounts/{id}', {
method: 'GET',
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});const request = require('request');
const options = {
method: 'GET',
url: '.../Accounts/{id}',
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});import requests
url = ".../Accounts/{id}"
headers = {
}
response = requests.GET(url, headers=headers)path
body
{
"title": "",
"firstName": "",
"lastName": "",
"role": "",
"email": "",
"password": "",
"confirmPassword": ""
}Success
{
"id": "",
"title": "",
"firstName": "",
"lastName": "",
"email": "",
"role": "",
"created": "",
"updated": "",
"isVerified": ""
}curl --request PUT \
--url .../Accounts/{id} \
--body '{"title":"","firstName":"","lastName":"","role":"","email":"","password":"","confirmPassword":""}'fetch('.../Accounts/{id}', {
method: 'PUT',
body: {
"title": "",
"firstName": "",
"lastName": "",
"role": "",
"email": "",
"password": "",
"confirmPassword": ""
},
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});const request = require('request');
const options = {
method: 'PUT',
url: '.../Accounts/{id}',
body: {
"title": "",
"firstName": "",
"lastName": "",
"role": "",
"email": "",
"password": "",
"confirmPassword": ""
},
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});import requests
url = ".../Accounts/{id}"
headers = {
}
body = {
"title": "",
"firstName": "",
"lastName": "",
"role": "",
"email": "",
"password": "",
"confirmPassword": ""
}
response = requests.PUT(url, headers=headers, body=body)path
curl --request DELETE \
--url .../Accounts/{id}fetch('.../Accounts/{id}', {
method: 'DELETE',
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});const request = require('request');
const options = {
method: 'DELETE',
url: '.../Accounts/{id}',
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});import requests
url = ".../Accounts/{id}"
headers = {
}
response = requests.DELETE(url, headers=headers)path
curl --request GET \
--url .../Download/{key}fetch('.../Download/{key}', {
method: 'GET',
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});const request = require('request');
const options = {
method: 'GET',
url: '.../Download/{key}',
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});import requests
url = ".../Download/{key}"
headers = {
}
response = requests.GET(url, headers=headers)curl --request GET \
--url .../HelperList/domainsfetch('.../HelperList/domains', {
method: 'GET',
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});const request = require('request');
const options = {
method: 'GET',
url: '.../HelperList/domains',
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});import requests
url = ".../HelperList/domains"
headers = {
}
response = requests.GET(url, headers=headers)curl --request GET \
--url .../HelperList/facilitiesfetch('.../HelperList/facilities', {
method: 'GET',
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});const request = require('request');
const options = {
method: 'GET',
url: '.../HelperList/facilities',
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});import requests
url = ".../HelperList/facilities"
headers = {
}
response = requests.GET(url, headers=headers)curl --request GET \
--url .../HelperList/analyzersfetch('.../HelperList/analyzers', {
method: 'GET',
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});const request = require('request');
const options = {
method: 'GET',
url: '.../HelperList/analyzers',
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});import requests
url = ".../HelperList/analyzers"
headers = {
}
response = requests.GET(url, headers=headers)curl --request GET \
--url .../HelperList/fileHeadersfetch('.../HelperList/fileHeaders', {
method: 'GET',
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});const request = require('request');
const options = {
method: 'GET',
url: '.../HelperList/fileHeaders',
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});import requests
url = ".../HelperList/fileHeaders"
headers = {
}
response = requests.GET(url, headers=headers)curl --request GET \
--url .../HelperList/espfetch('.../HelperList/esp', {
method: 'GET',
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});const request = require('request');
const options = {
method: 'GET',
url: '.../HelperList/esp',
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});import requests
url = ".../HelperList/esp"
headers = {
}
response = requests.GET(url, headers=headers)body
curl --request POST \
--url .../HelperList/espp \
--body '""'fetch('.../HelperList/espp', {
method: 'POST',
body: "",
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});const request = require('request');
const options = {
method: 'POST',
url: '.../HelperList/espp',
body: "",
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});import requests
url = ".../HelperList/espp"
headers = {
}
body = ""
response = requests.POST(url, headers=headers, body=body)curl --request GET \
--url .../Listener/espfetch('.../Listener/esp', {
method: 'GET',
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});const request = require('request');
const options = {
method: 'GET',
url: '.../Listener/esp',
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});import requests
url = ".../Listener/esp"
headers = {
}
response = requests.GET(url, headers=headers)body
{
"api_key": "",
"device_key": "",
"timestamp": "",
"temp": "",
"lux": "",
"mat": ""
}curl --request POST \
--url .../Listener/mattress \
--body '{"api_key":"","device_key":"","timestamp":"","temp":"","lux":"","mat":""}'fetch('.../Listener/mattress', {
method: 'POST',
body: {
"api_key": "",
"device_key": "",
"timestamp": "",
"temp": "",
"lux": "",
"mat": ""
},
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});const request = require('request');
const options = {
method: 'POST',
url: '.../Listener/mattress',
body: {
"api_key": "",
"device_key": "",
"timestamp": "",
"temp": "",
"lux": "",
"mat": ""
},
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});import requests
url = ".../Listener/mattress"
headers = {
}
body = {
"api_key": "",
"device_key": "",
"timestamp": "",
"temp": "",
"lux": "",
"mat": ""
}
response = requests.POST(url, headers=headers, body=body)body
{
"api_key": "",
"device_key": "",
"timestamp": "",
"sound": ""
}curl --request POST \
--url .../Listener/snore \
--body '{"api_key":"","device_key":"","timestamp":"","sound":""}'fetch('.../Listener/snore', {
method: 'POST',
body: {
"api_key": "",
"device_key": "",
"timestamp": "",
"sound": ""
},
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});const request = require('request');
const options = {
method: 'POST',
url: '.../Listener/snore',
body: {
"api_key": "",
"device_key": "",
"timestamp": "",
"sound": ""
},
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});import requests
url = ".../Listener/snore"
headers = {
}
body = {
"api_key": "",
"device_key": "",
"timestamp": "",
"sound": ""
}
response = requests.POST(url, headers=headers, body=body)query
Success
{
"assetid": "",
"datefrom": "",
"dateto": "",
"outofbed": {
"starttime": "",
"endtime": ""
}
}curl --request GET \
--url .../SensorData/outOfBedData?assetId=0&fromDate=Something&toDate=Somethingfetch('.../SensorData/outOfBedData?assetId=0&fromDate=Something&toDate=Something', {
method: 'GET',
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});const request = require('request');
const options = {
method: 'GET',
url: '.../SensorData/outOfBedData?assetId=0&fromDate=Something&toDate=Something',
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});import requests
url = ".../SensorData/outOfBedData?assetId=0&fromDate=Something&toDate=Something"
headers = {
}
response = requests.GET(url, headers=headers)query
Success
{
"assetid": "",
"datefrom": "",
"dateto": "",
"positions": {
"starttime": "",
"endtime": "",
"position": ""
}
}curl --request GET \
--url .../SensorData/mattressPositionData?assetId=0&fromDate=Something&toDate=Somethingfetch('.../SensorData/mattressPositionData?assetId=0&fromDate=Something&toDate=Something', {
method: 'GET',
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});const request = require('request');
const options = {
method: 'GET',
url: '.../SensorData/mattressPositionData?assetId=0&fromDate=Something&toDate=Something',
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});import requests
url = ".../SensorData/mattressPositionData?assetId=0&fromDate=Something&toDate=Something"
headers = {
}
response = requests.GET(url, headers=headers)path
Success
{
"assetid": "",
"datefrom": "",
"dateto": "",
"rowdata": {
"timestamp": "",
"data": {
"row": "",
"matrixrecord": [],
"position": ""
}
}
}curl --request GET \
--url .../SensorData/mattressRawData/{assetId}&{fromDate}&{toDate}fetch('.../SensorData/mattressRawData/{assetId}&{fromDate}&{toDate}', {
method: 'GET',
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});const request = require('request');
const options = {
method: 'GET',
url: '.../SensorData/mattressRawData/{assetId}&{fromDate}&{toDate}',
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});import requests
url = ".../SensorData/mattressRawData/{assetId}&{fromDate}&{toDate}"
headers = {
}
response = requests.GET(url, headers=headers)query
Success
{
"assetid": "",
"datefrom": "",
"dateto": "",
"still": {
"starttime": "",
"endtime": ""
}
}curl --request GET \
--url .../SensorData/mattressStillPositionData?assetId=0&fromDate=Something&toDate=Somethingfetch('.../SensorData/mattressStillPositionData?assetId=0&fromDate=Something&toDate=Something', {
method: 'GET',
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});const request = require('request');
const options = {
method: 'GET',
url: '.../SensorData/mattressStillPositionData?assetId=0&fromDate=Something&toDate=Something',
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});import requests
url = ".../SensorData/mattressStillPositionData?assetId=0&fromDate=Something&toDate=Something"
headers = {
}
response = requests.GET(url, headers=headers)query
Success
{
"patientid": "",
"datefrom": "",
"dateto": "",
"environmental": {
"timestamp": "",
"temperature": "",
"luminocity": "",
"noiselevel": ""
}
}curl --request GET \
--url .../SensorData/enviromentalMeasurementsData?assetId=0&fromDate=Something&toDate=Somethingfetch('.../SensorData/enviromentalMeasurementsData?assetId=0&fromDate=Something&toDate=Something', {
method: 'GET',
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});const request = require('request');
const options = {
method: 'GET',
url: '.../SensorData/enviromentalMeasurementsData?assetId=0&fromDate=Something&toDate=Something',
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});import requests
url = ".../SensorData/enviromentalMeasurementsData?assetId=0&fromDate=Something&toDate=Something"
headers = {
}
response = requests.GET(url, headers=headers)path
Success
{
"assetid": "",
"records": {
"timestamp": "",
"matrix": {
"rowSensor": "",
"columnSensor": "",
"value": ""
}
}
}curl --request GET \
--url .../SensorData/mattressGridMeasurementsData/{assetId}&{fromDate}&{toDate}fetch('.../SensorData/mattressGridMeasurementsData/{assetId}&{fromDate}&{toDate}', {
method: 'GET',
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});const request = require('request');
const options = {
method: 'GET',
url: '.../SensorData/mattressGridMeasurementsData/{assetId}&{fromDate}&{toDate}',
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});import requests
url = ".../SensorData/mattressGridMeasurementsData/{assetId}&{fromDate}&{toDate}"
headers = {
}
response = requests.GET(url, headers=headers)formData
curl --request POST \
--url .../Upload/upload \
--header 'Content-Type: application/x-www-form-urlencoded' \
--form 'ContentType=Something' \
--form 'ContentDisposition=Something' \
--form 'Headers=' \
--form 'Length=0' \
--form 'Name=Something' \
--form 'FileName=Something'fetch('.../Upload/upload', {
method: 'POST',
headers: {
"Content-Type": "application/x-www-form-urlencoded"
},
body: 'ContentType=Something&ContentDisposition=Something&Headers=&Length=0&Name=Something&FileName=Something',
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});const request = require('request');
const options = {
method: 'POST',
url: '.../Upload/upload',
qs: {"ContentType": "Something","ContentDisposition": "Something","Headers": "","Length": "0","Name": "Something","FileName": "Something"},
headers: {"Content-Type": "application/x-www-form-urlencoded"},
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});import requests
url = ".../Upload/upload"
headers = {
"Content-Type": "application/x-www-form-urlencoded"
}
body = {
"ContentType": "Something",
"ContentDisposition": "Something",
"Headers": "",
"Length": "0",
"Name": "Something",
"FileName": "Something"
}
response = requests.POST(url, headers=headers)formData
curl --request POST \
--url .../Upload \
--header 'Content-Type: application/x-www-form-urlencoded' \
--form 'ContentType=Something' \
--form 'ContentDisposition=Something' \
--form 'Headers=' \
--form 'Length=0' \
--form 'Name=Something' \
--form 'FileName=Something'fetch('.../Upload', {
method: 'POST',
headers: {
"Content-Type": "application/x-www-form-urlencoded"
},
body: 'ContentType=Something&ContentDisposition=Something&Headers=&Length=0&Name=Something&FileName=Something',
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});const request = require('request');
const options = {
method: 'POST',
url: '.../Upload',
qs: {"ContentType": "Something","ContentDisposition": "Something","Headers": "","Length": "0","Name": "Something","FileName": "Something"},
headers: {"Content-Type": "application/x-www-form-urlencoded"},
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});import requests
url = ".../Upload"
headers = {
"Content-Type": "application/x-www-form-urlencoded"
}
body = {
"ContentType": "Something",
"ContentDisposition": "Something",
"Headers": "",
"Length": "0",
"Name": "Something",
"FileName": "Something"
}
response = requests.POST(url, headers=headers)