Parse URL
1 min
Extracts a list of unique URLs from a given text
API Definition
Parse URL API
Call the following API to parse a url from a given input
POST
https://orca.pathfix.com/functions/text/parseurl
json
{
"input": "https://www.acme.com/path/subpath/file?car=mercedes&owner=bruce"
}200
{
"output": {
"host_name": "www.acme.com",
"port": 443,
"path": "/path/subpath/file",
"protocol": "https",
"file": "file",
"query": "?car=mercedes&owner=bruce",
"query_dictionary": {
"car": "mercedes",
"owner": "bruce"
}
},
"size_in_bytes": 276.0
}404
{
"message": "error"
}