Feature 07 / 17
Call HTTP APIs from your project
In development: HTTP queries in any DataTug project, Postman-style. Pick a method, enter a URL, edit query parameters, headers and a body, run the query, and inspect the status, timing, headers and formatted JSON.
HTTP queriesIn development
The problem
When part of the answer lives behind an API, how do you check it without leaving the investigation?
A carrier, a payment provider or an internal service often holds the missing fact. Switching to a separate API client means copying IDs by hand, and the request that answered the question is rarely saved where the next person will look.
A clearer workflow
Build the request
Pick a method, enter a URL, and edit query parameters, headers and a body.
Run it from your browser
Runs go straight from your browser. Re-running a request that an API blocks in the browser (CORS) through the DataTug server comes when the server runner is deployed.
Inspect and save
Read the status, timing, headers and formatted JSON. Saved queries keep the method, headers and body with your project, and auth headers are never saved.
Illustrative workflow
Ask the carrier about an order
Starting question
Has the carrier booked a pickup for order 11045?
Steps to follow
- In a project you can edit, create an HTTP query with method GET, the carrier’s booking URL, and the order ID as a query parameter.
- Run it for order 11045, then for order 11038, and compare the status and formatted JSON of the two responses.
- Save the query with the project so the next investigation can reuse it. Any auth header stays out of the saved query.
What this shows
HTTP queries are in development, and the carrier sandbox used by the order 11045 story is not published yet. This is the intended workflow, not a live demo.
Open DataTugWhat changes
The API call becomes part of the project, next to the queries whose results it explains.
The case of order 11045 · Act 3 · Ask the carrier
In the demo story
Sarah asks the carrier whether order 11045 has a booking, with the order ID taken from the row she selected, and compares it with order 11038, which was picked up.
The guided demo of this story is being built.
