Execute urls without opening them in browser. - Overclock.net - An Overclocking Community

Forum Jump: 

Execute urls without opening them in browser.

Thread Tools
post #1 of 4 (permalink) Old 06-16-2018, 03:01 AM - Thread Starter
New to Overclock.net
Join Date: Jun 2018
Posts: 1
Rep: 0
Execute urls without opening them in browser.

Hello, I have my own little browser game and what i want to do is to test message system. So I need to send messages to 50 of my test accounts. I want to make some function or app to do that, so i dont have to go throw 50 users and send them a message, it will take time.
So I can send messages using two links. First, link open write message log and the second link fill the ID, Subject, Text and sends it. I made a small C++ program that takes two links and then runs them in my browser but it was not successful because some links load faster some slower and to send out messages to 50 users I have to open 100 browser tabs, so it's not good for PC resources.

Maybe someone can tell me how I can execute two links 50 times without opening in the browser. Also, problem is that i need to be logged in to send messages.
Thranduil is offline  
Sponsored Links
post #2 of 4 (permalink) Old 06-22-2018, 01:01 PM
C# Whisperer
chunkII123's Avatar
Join Date: Jan 2010
Location: Grand Rapids, MI
Posts: 200
Rep: 26 (Unique: 23)
So you wrote this game game you speak of, but didn't bake in a mechanism for administering the message system? I'm a little confused, and perhaps a bit apprehensive to consider helping you potentially abuse a message system.

More info please.


<div class="post-sig post-sig-limit shazam usersig-click"><div class="reparse-sig-lineheight"><div style="text-align:center;"><img alt="biggrin.gif" src="/images/smilies/biggrin.gif"><img alt="biggrin.gif" src="/images/smilies/biggrin.gif"><a href="http://valid.canardpc.com/show_oc.php?id=1376602" target="_blank"><span>CPU-Z Validation of The Deuce</span></a><img alt="biggrin.gif" src="/images/smilies/biggrin.gif"><img alt="biggrin.gif" src="/images/smilies/biggrin.gif"><br><a href="https://www.overclock.net/off-topic/169110-michigan-ocn-thread.html"><span style="font-size: 12px;"><span>MICHIGAN OVERCLOCKERS</span></span></a><span> </span><a href="https://www.overclock.net/amd-motherboards/593433-unofficial-foxconn-destroyer-club.html"><span style="font-size: 12px;"><span>|| Club Foxconn Destroyer</span></span></a><br></div></div></div>
chunkII123 is offline  
post #3 of 4 (permalink) Old 08-06-2018, 11:38 PM
Join Date: Feb 2016
Posts: 2,668
Just deal with the http objects. Most high level languages will have some library to help you with this (apache httpClient in java, httpClient included in .net in c#).
Fill the http request object with the data you want to send, send it, wait for the response, maybe make a thread for each one so you can get response async.
Whatever language you are using you will be able to find a guide on how to do this in a few lines of code.

Last edited by spinFX; 08-07-2018 at 01:23 AM.
spinFX is offline  
Sponsored Links
post #4 of 4 (permalink) Old 08-07-2018, 12:01 AM
gonX's Avatar
Join Date: May 2006
Location: Odense, Denmark
Posts: 29,528
Rep: 1157 (Unique: 647)
You can do this with curl (or wget) and its cookies options, assuming you use cookies to login.

Using a library for your respective language is another good idea. curl also has this.

Making a test "suite" for your application is not a bad idea either, ie. running exactly this test scenario among many others. Considers tests as proof for your program is still functioning to spec.

What does OCN offer as a site?
What are infractions and warnings?
How to make quality posts
(19 items)
Intel Core i7 4770k
Gigabyte Z87X-UD4H
Sapphire RX 580
2x G.Skill F3-2400C10-8GTX
Hard Drive
Samsung 840 EVO
Optical Drive
Generic DVD±RW Burner
Power Supply
Corsair TX850
Noctua NH-D14
Fractal Design Core 2500
Operating System
Arch Linux
Dell U2711
Samsung SyncMaster 2233
LG W2453TQ
Ducky DK9008G2, Cherry MX Blue, Overclock.net Edition
Logitech G303
Xtrfy GP3 HeatoN
Beyerdynamic DT-770 80 Ohm
AntLion ModMic v3
M-Audio Fast Track USB
▲ hide details ▲

gonX is offline  

Quick Reply

Register Now

In order to be able to post messages on the Overclock.net - An Overclocking Community forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.
User Name:
If you do not want to register, fill this field only and the name will be used as user name for your post.
Please enter a password for your user account. Note that passwords are case-sensitive.
Confirm Password:
Email Address
Please enter a valid email address for yourself.
Email Address:


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

Forum Jump: 

Posting Rules  
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off