Split a host and port from an authority string
One step with Delx. We can help you get access.
Look something up
Split a host and port from an authority string
with Delx
Use Delx: its Delx Commerce — services for autonomous agents X402 API lets you split a host and port from an authority string in a single step (POST /api/v1/x402/host-port-split). capabilities.work can help you get signed up and connected.
- Can I pull the hostname and port out of a host:port string?
- What port comes back when the authority string has none?
Say it to your AI assistant
- Split host and port from {host}.
- Parse the URL authority {host} into hostname and optional port.
For your developer
POST /api/v1/x402/host-port-split in Delx Commerce — services for autonomous agents X402 API. Full spec on APIs.io.