Transform URL input into a domain. Example: 'https://go.com' to 'go.com'.
| Billable Operation | Provider | Billing Mode Docs | Connection Docs | Cost per operation Docs |
|---|---|---|---|---|
pipe0-platform-operation | P pipe0 | Always | Managed | 0.00 credits |
const options = {
method: 'POST',
headers: {'content-type': 'application/json', authorization: 'Bearer <TOKEN>'},
body: JSON.stringify({
pipes: [{pipe_id: 'field:domainify@1'}],
input: [{id: '1', url_input: 'https://google.com'}]
})
};
fetch('https://api.pipe0.com/v1/pipes/run', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));