The response envelope
Every response wraps its payload in acontent object and a _links object (HATEOAS):
content holds the requested data; _links gives the URL of the current resource plus related actions (such as a calculate link).
GET a calculator: model vs. fields
AGET on a calculator resource returns its definition. The format query parameter controls the shape:
model to see the object you’ll POST; use fields to build a form dynamically.
POST to calculate
APOST to the calculator resource runs a calculation. The request body is the calculator’s model (see Object model and default properties); the response content holds the results:
fica is Social Security. Optional query params extend the response: itd=true adds a detailed tax breakdown, report returns a PDF report, and showcalc echoes the submitted inputs.
See the API quickstart for an end-to-end example and the endpoint reference for full request and response schemas.
