What you’re trying to do is actually at least a next step up from amateur. Taking a next step is great, there’s nothing wrong with that, but it is an indication that there’s probably a little more learning involved in this than you may have expected.
You’re going to need to give us more specific information before anyone can give you concrete answers.
What script language are you using?
Have you search the forums here for previous questions about Pushcut?
What happens when you do use the options you tried (that is, how do you know the call didn’t work)?
Do errors appear in the logs when you run the scripts?
If so, what are the exact errors?
Is there Pushcut documentation?
What other information is the Pushcut-url expecting you to send?
Are there examples of a correct url call?
I don’t know Pushcut in particular, but in general, a call to a url for something like this is more complex than just the address. You’ll need to know things like what headers to use and the expected format of the data transferred. Is there Pushcut documentation?
Thank you for your answer, I try to give you the missing informations.
There ist a specific url to trigger my particular Pushcut notification. When I use this url in my browser, a second after entering, the notification on my mobile phone appears. So the link works properly. There are no arguments needed, the link has just to be opened.
var HTTP = Java.type("org.openhab.core.model.script.actions.HTTP");