new-customer: true. The HTTP gateway uses that attribute to route the request to the new registration backend; other users continue to the existing flow—transparent to the end user.

new-customer: true). The backend uses that metadata to complete the appropriate registration flow.
In an NGINX Fabric Gateway environment, you implement this behavior with the Gateway API’s HTTPRoute resource. An HTTPRoute rule defines:
- one or more matches (what attributes to inspect), and
- backendRefs (where to send matching requests).

- A match declares what to look for (path, header, method, query).
- backendRefs list the target services for traffic that meets those matches.

/coffee and that include a header version: v2 to coffee-v2; route other /coffee requests to coffee-v1.
Note: the YAML snippets below are conceptual fragments showing match logic. In an actual HTTPRoute resource, matches are nested under a rules entry and backendRefs are declared at the rule level. See the Gateway API schema for exact field layout and supported match options: https://gateway-api.sigs.k8s.io/references/spec/.
Example: path + header match (route to coffee-v2 when header version: v2 is present)
/coffee requests that do not match the header-based rule)
POST requests to a specific backend:
You can combine path, header, query-parameter, and method matches in a single HTTPRoute match. Use the most specific rules first (for new flows) and fall back to broader rules (legacy flows) to prevent ambiguous routing.
- Gateway API specification: https://gateway-api.sigs.k8s.io/spec/
- Gateway API reference: https://gateway-api.sigs.k8s.io/references/spec/
- NGINX Fabric Gateway documentation (for product-specific filters and behavior)