Jump to content
  • 0
Thejuster

Possibile web request?

Question

Hello, is possible whit npc send a webrequest or navigate.

 

for example

www.mysite.com/home.php?action=hi

No need response but only send an action.
No need url, or user to click on a link.
Just send an GET action on url.

Edited by Thejuster
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Your request is very ambiguous. How is the page being called? Is it through the client? Have you looked at how <url> works?

From script_commands.txt

URLs
----
Similarly, you can create links to websites that launch in a new window:

	<URL>Display Name<INFO>http://www.example.com/</INFO></URL>";

 

  • Upvote 1
Link to comment
Share on other sites

  • 0

I need the page is called via npc without click on link or button

 

In C# code example i call a webrequest whit WebClient

 

string msg = "Hello";
WebClient wb = new WebClient($"http://mysite.com?message={msg}");

wb.Navigate();

//or

wb.DownloadString(); // for response.

i need a function like this if exist.
or need to edit source code?

if i need, name of the interested file?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.