Test your project

Once you publish your project, Xapix generates a cURL command (and a Powershell command) so you can test your project locally, as shown in the example below.

Copy and run the curl command

Step

Description

1

From the Home menu, click the endpoint:

xapix-io-api-data/vehicle-demo/engines/{engine_id}.json

2

In the Publish Project pane of the Pipeline dashboard, copy the cURL command.

3

Run the command in your favorite terminal.

The request to the endpoint returns the following response.

{
"fuel_type":"Diesel",
"manufacturer":"Remedy Engines",
"power_hp":"180",
"price":"4800.0"
}

And that's it! Congratulations.

You've finished the tutorial and should now have a good idea of how to use Xapix.