Documentation [Deprecated]
SkyCiv Documentation








RC Design
General
Code Verification




Can't find what you're after?

Javascript

Calling the API in JavaScript where structure_data is the JSON Input object.

Example

var xmlHttp = new XMLHttpRequest();
xmlHttp.open( "POST", "https://solver.skyciv.com/structural/v2", false ); 
xmlHttp.send(JSON.stringify(structure_data));
console.log(JSON.parse(xmlHttp.response));
console.log("The status is " + xmlHttp.statusText);