Graphit files can be generated either:
Open your Internet Browser and enter the following address: http://[Fabric IP address]:3213/static/graphit/graphit.html.
For example: http://localhost:3213/static/graphit/graphit.html
To define the nodes, go to Create and Edit a Graphit File.
Define the parameters/values and token to debug the Graphit form.
Select the type of output format by clicking one of the following icons:
JSON, click {:}
XML, click
CSV, click
The response is displayed in the white panel on the right side of the screen:
Test Graphit POST URL
Using postman (or any other similar tool), paste the POST link into the Query fieldand append the graphit parameter &graphit=%7B%0%220%2… (copied from from the GET URL) to the POST URL.
Example:
http://localhost:3213/graphit?nullformat=json&luName=k2_ws&graphit=%7B%0%220%2...
Using a the cURL command of your shell environment type the following command, replacing the @myfile.graphit
with the actual name and local path of the graphit file you wish to invoke.
curl -H "Content-Type: application/json" -d @myfile.graphit "http://localhost:3213/graphit?nullformat=json&luName=k2_ws"
Example:
curl -H "Content-Type: application/json" -d @C:\Users\DaniellaDavis\Downloads\graphit_file.graphit.graphit "http://localhost:3213/graphit?nullformat=json&luName=k2_ws"
Graphit files can be generated either:
Open your Internet Browser and enter the following address: http://[Fabric IP address]:3213/static/graphit/graphit.html.
For example: http://localhost:3213/static/graphit/graphit.html
To define the nodes, go to Create and Edit a Graphit File.
Define the parameters/values and token to debug the Graphit form.
Select the type of output format by clicking one of the following icons:
JSON, click {:}
XML, click
CSV, click
The response is displayed in the white panel on the right side of the screen:
Test Graphit POST URL
Using postman (or any other similar tool), paste the POST link into the Query fieldand append the graphit parameter &graphit=%7B%0%220%2… (copied from from the GET URL) to the POST URL.
Example:
http://localhost:3213/graphit?nullformat=json&luName=k2_ws&graphit=%7B%0%220%2...
Using a the cURL command of your shell environment type the following command, replacing the @myfile.graphit
with the actual name and local path of the graphit file you wish to invoke.
curl -H "Content-Type: application/json" -d @myfile.graphit "http://localhost:3213/graphit?nullformat=json&luName=k2_ws"
Example:
curl -H "Content-Type: application/json" -d @C:\Users\DaniellaDavis\Downloads\graphit_file.graphit.graphit "http://localhost:3213/graphit?nullformat=json&luName=k2_ws"