Jump to content
  • 0

Possibile web request?


Question

Posted (edited)

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

2 answers to this question

Recommended Posts

  • 0
Posted

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
  • 0
Posted

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?

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...