Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: TRURL support #228

Open
nickorr opened this issue Sep 12, 2024 · 0 comments
Open

[Feature]: TRURL support #228

nickorr opened this issue Sep 12, 2024 · 0 comments
Assignees

Comments

@nickorr
Copy link
Member

nickorr commented Sep 12, 2024

Type of Feature

New Function

Description

Utilise the trurl code from curl, and have a BE function that did :

BE_Trurl ( url { ; set ; append ; trim } )

It would only ever do output as json, so utilising the --json parameter, so without any of the other params, would act as a url validator, and also return all the bits as json. If the validator failed it would return a blank and ? in the Error function.

Then for set you could pass "host=example.com" or "port=8080" or "user=::moo::"
For append you could use "path=you" or "query=search=string"
For trim you could send "query="utm_*"" or "query="search""

( examples copied from the trurl readme. New functions default to Pro version. )

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants