Send an HTTP command without opening browser and ignore server response?

I am trying to put together a very, very simple desktop app which can send 6 separate HTTP commands to a local webserver.
The command would be something like:
+open http://192.168.0.101/run.cgi?Menu+
The command works fine, but the problem is it is being opened in the default web browser and then the response from the webserver is being opened in a new tab:
+http://192.168.0.101/result.txt+
I'm a novice so I'm only doing this in the most basic way, but wondered if there was a way I could run this command from the Terminal and add a few extra commands to the line to make it run "silently", i.e. not open a web browser and also ignore the response, just simply send the command "Menu".
Many thanks
Mark

Great, sounds perfect for what I need to do. I have absolutly no idea how to use it yet though. Please if you can spare the time, could you just outline in plain idiot English how I should implement this so I can have various functions setup to use it.
Many thanks
Mark

Similar Messages

  • I can receive mail, but I cannot send mail, my mobile broadband is 3 and my server is BT

    I can receive mail, but I cannot send mail, my mobile broadband is 3 and my server is BT. I have been to the Apple Store today. They did not resove my problem. Can anybody help?

    Try this. Check the primary outgoing mail server username and password and make sure that they are in the settings even if it says that they are optional.
    Settings > Mail, Contacts, Calendars > select the account > account name , tap on SMTP (under the 'Outgoing Mail Server' heading) and then tap on your Primary Server and try entering your email account and password and see if you can then send emails.

  • I cannot open photos in my Photoshop CS 6.  I have been able to open Browser and Camera Raw, but not

    I cannotg open photos in Photgoshop CS6.  I can open them in Photoshop Browser and Camera Raw, but cannotg open them in Photoshop.  Blue circle comes on for about three seconds, then changes to a plus sign, and nothing else happens.  Please help.  Adobe Photoshop is either unwilling or unable to help me with this problem.

    Nobody can help you without some exact system info and details on what photos exactly.
    Mylenium

  • JSON.parse Response parse failed. I can not open files and JSON.parse Response parse failed. shows up it dosn't happen with I E browser

    JSON.parse Response parse failed.
    I can not open files. And JSON.parse Response parse failed. shows up.
    It doesn't happen when i use the I E browser, so I can't use firefox

    Hi
    I'm trying to make a movie from the JpegImagesToMovie class. But i get a null point exception :(
    java.lang.NullPointerException
         at com.sun.media.multiplexer.video.QuicktimeMux.writeVideoSampleDescription(QuicktimeMux.java:936)
         at com.sun.media.multiplexer.video.QuicktimeMux.writeSTSD(QuicktimeMux.java:925)
         at com.sun.media.multiplexer.video.QuicktimeMux.writeSTBL(QuicktimeMux.java:905)
         at com.sun.media.multiplexer.video.QuicktimeMux.writeMINF(QuicktimeMux.java:806)
         at com.sun.media.multiplexer.video.QuicktimeMux.writeMDIA(QuicktimeMux.java:727)
         at com.sun.media.multiplexer.video.QuicktimeMux.writeTRAK(QuicktimeMux.java:644)
         at com.sun.media.multiplexer.video.QuicktimeMux.writeMOOV(QuicktimeMux.java:582)
         at com.sun.media.multiplexer.video.QuicktimeMux.writeFooter(QuicktimeMux.java:519)
         at com.sun.media.multiplexer.BasicMux.close(BasicMux.java:142)
         at com.sun.media.BasicMuxModule.doClose(BasicMuxModule.java:172)
         at com.sun.media.PlaybackEngine.doClose(PlaybackEngine.java:872)
         at com.sun.media.BasicController.close(BasicController.java:261)
         at com.sun.media.BasicPlayer.doClose(BasicPlayer.java:229)
         at com.sun.media.BasicController.close(BasicController.java:261)
         at movieclear.MovieManager.JpegImagesToMovie.controllerUpdate(JpegImagesToMovie.java:179)
         at com.sun.media.BasicController.dispatchEvent(BasicController.java:1254)
         at com.sun.media.SendEventQueue.processEvent(BasicController.java:1286)
         at com.sun.media.util.ThreadedEventQueue.dispatchEvents(ThreadedEventQueue.java:65)
         at com.sun.media.util.ThreadedEventQueue.run(ThreadedEventQueue.java:92)
    Please please help me out.. I'm totally stuck in this thing. A MOV file is created, but it's a 0kb file.
    Please help me out..
    Sootie.

  • Communication between mobile browser and proxy server

    hi
    I am trying to connect to internet in mobile through my proxy server.I wrote codings for that.Using my code i am able to get the request from the mobile browser but the problem is i am unable to connect to the proxy server
    The following is my code for sending the request to the proxyserver and getting back the response:
    s = (SocketConnection)Connector.open("socket://"+hostname+":"+port);
    /*OutStream to write the request to the proxy server*/
    OutputStream out = s.openOutputStream(); PrintStream outw = new PrintStream(out); outw.print(requestHeader +"\r\n"); /*Inputstream to read the response from the proxy server*/ InputStream in = s.openInputStream();
    /*writing the response in the browser */
    byte[] buffer = new byte[1024];
    int len;
    while((len = in.read(buffer)) > 0) {
    os.write(buffer, 0, len);
    is my coding correct?or i need to change anything in my codings?
    This coding is working fine in emulator and displaying the correct output in the desktop browser.but in mobile it is not working?
    Thanks a lot

    hi
    yes nothing is returned from the browser
    request from the browser means
    whenever u type say,www.google.co.in in your browser
    the following type of request will go to the proxy server,after getting the request the proxy server will check for the host address and then it connects to the webserver and get the response and send it back to the browser.
    for google page the request is
    GET http://www.google.co.in/ HTTP/1.1
    Host: www.google.co.in
    Accept: text/html, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/css, multipart/mixed, text/vnd.wap.wml, application/vnd.wap.wmlc, application/vnd.wap.wmlscriptc, application/java-archive, application/java, application/x-java-archive, text/vnd.sun.j2me.app-descriptor, application/vnd.met.ticket, application/x-wallet-appl.user-data-provision, application/vnd.oma.drm.message, application/vnd.oma.drm.content, application/vnd.wap.mms-message, application/vnd.wap.sic, text/x-co-desc, application/vnd.oma.dd+xml, */*
    Accept-Charset: iso-8859-1, utf-8, iso-10646-ucs-2; q=0.6
    Accept-Encoding: gzip,deflate,identity;q=0.9
    Accept-Language: en
    Cookie: PREF=ID=dc8dc6e63dab6e09:TM=1156324791:LM=1156324791:S=FgovcdMV93Mm4Li7
    Cookie2: $Version="1"
    User-Agent: Nokia6630/4.06.0 Series60/2.6 Profile/MIDP-2.0 Configuration/CLDC-1.1
    x-wap-profile: "http://nds1.nds.nokia.com/uaprof/N6630r100.xml"
    in the code u have given the value of the host is http: only

  • Stop managed server without node manager and admin server

    What are the commonly used ways to stop managed Weblogic server without node manager running and without administration server running?
    (I have only one solution: on the managed server startup dump process ID to a file, and then when I want to stop it, send a signal to this process ID and kill JVM. But it seems not very clean way.)
    (The managed server is started when both node manager and admin server are down, and I provide boot.properties of admin server to the managed server to start.)
    UPDATED: And I don't want to start neither admin server, nor node manager even temporarily.
    Edited by: user12163080 on Jun 24, 2010 4:40 AM

    Hai,
    I read the Oracle weblogic wlst script document without Admin server you cannot connect the managed server through the WLST script. see the below lines
    "The start command starts Managed Servers or clusters in a domain using Node Manager.
    To use the start command, WLST must be connected to a running Administration Server.
    To start Managed Servers without requiring a running Administration Server, use the
    nmStart command with WLST connected to Node Manager."
    "You shut down a server to which WLST is connected by entering the shutdown command
    without any arguments.
    When connected to a Managed Server instance, you only use the shutdown command to shut
    down the Managed Server instance to which WLST is connected; you cannot shut down another
    server while connected to a Managed Server instance.
    WLST uses Node Manager to shut down a Managed Server. When shutting down a Managed
    Server, Node Manager must be running.
    In the event of an error, the command returns"
    They are two option if you are using adminserver then we can stop the any Managed server.
    The option is if you are using the nodemanager without admin server we can stop the any Managed server.
    The last final solution to kill the particular Managed server pid.
    Regards,
    S.vinoth babu

  • Browser and secured server communication

    I want to know that How the Browser communicates with the
    secured server ?
    please Explain in detail with Example (if possible)
    Thanks In advance

    hi
    yes nothing is returned from the browser
    request from the browser means
    whenever u type say,www.google.co.in in your browser
    the following type of request will go to the proxy server,after getting the request the proxy server will check for the host address and then it connects to the webserver and get the response and send it back to the browser.
    for google page the request is
    GET http://www.google.co.in/ HTTP/1.1
    Host: www.google.co.in
    Accept: text/html, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/css, multipart/mixed, text/vnd.wap.wml, application/vnd.wap.wmlc, application/vnd.wap.wmlscriptc, application/java-archive, application/java, application/x-java-archive, text/vnd.sun.j2me.app-descriptor, application/vnd.met.ticket, application/x-wallet-appl.user-data-provision, application/vnd.oma.drm.message, application/vnd.oma.drm.content, application/vnd.wap.mms-message, application/vnd.wap.sic, text/x-co-desc, application/vnd.oma.dd+xml, */*
    Accept-Charset: iso-8859-1, utf-8, iso-10646-ucs-2; q=0.6
    Accept-Encoding: gzip,deflate,identity;q=0.9
    Accept-Language: en
    Cookie: PREF=ID=dc8dc6e63dab6e09:TM=1156324791:LM=1156324791:S=FgovcdMV93Mm4Li7
    Cookie2: $Version="1"
    User-Agent: Nokia6630/4.06.0 Series60/2.6 Profile/MIDP-2.0 Configuration/CLDC-1.1
    x-wap-profile: "http://nds1.nds.nokia.com/uaprof/N6630r100.xml"
    in the code u have given the value of the host is http: only

  • Downloaded Firefox, cannot open because it says I am offline, and need to change, cannot do this without opening browser.

    I got a notice that my Firefox was outdated. I was using something earlier than 3.6.3. I downloaded v4.0.1, and followed instructions for installing. I closed every other application was using at the time. When I attempted to open Firefox, I got a message that it was in off-line mode, and needed to be changed. I cannot change mode of operation without its beng open. I am stuck. I have many things on my computer that is opened using Firefox, and they will not open, either. I do not know yet if I will have all my old bookmarks.

    Doesn't Firefox start even in offline mode?
    A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process.
    See:
    * https://support.mozilla.com/kb/Server+not+found
    * https://support.mozilla.com/kb/Firewalls

  • Is there  a way to make Safari open PDF pages without opening Finder and select Reader from my applications folder?

    Simple, When I want to open a .pdf page from the web, I get Finder to open and I have to go to my applications folder to pick up Acrobat reader, Is there a way to have Safari doing it all by itself, Preview, or any other program?

    Right or control click a PDF file you have on the hard drive then click: Get Info
    In the Get Info panel click the pop up menu next to:  Open with
    Select the app you want to open PDF files from the pop up menu then click:  Change All

  • My phone keeps sending Imessages to someone without an Iphone, and someone else is receiving them through imessage and replying.

    If my 3g or Wifi is off my phone will text the correct number, my friend's samsung phone, however whenever my 3g or wifi is on, my phone sends my texts to my friend as imessages that do not go to his phone - they go to another persons device as an imessage...can someone help this is really frusterating.
    No one in his house has anything assosciated to an iphone, ipad etc...

    I just had this problem. I found this solution on a discussion board and it seems to have fixed the issue:
    "So I finally realized (by accident) that you can tap on the text message you just sent, (the blue bubble imessage) and it'll ask "copy" or "send as sms"...and I chose send as sms.
    After doing this about 5-6 times, it stopped automatically sending him imessages and started automatically sending him SMS messages instead!"

  • Setting up Open Directory and iCal server.

    Hello:
    I'm new to open directory - please help or point me in the right direction. I'm trying to set up a OSx server 10.5 running on a PowerMac G4.
    I need iCal/DNS/FS/VPN/WEB/Open Directory as services enabled.
    For testing purposes I've set up a small network with three machines all running 10.5.6.
    I've tired over and over to do this via an advanced server but have not be able to get everything to work so I did a basic server allowing the server set up to input all my settings. Everything built and started up without issue but I could not get iCal to work. I let the set up sit over night and when I returned the next morning the MacMini screen had a window saying that a directory server has been found that offers these following services ...WEB - iCal etc. Do you want to configure your workstation. I did and everything worked as aspected. I thought that I finally got it!
    I wanted to see the all of the settings so I converted the server to an advanced server and everything still worked. ( From the one workstation ).
    I imported a users exported file from the server I'm trying to fix then the groups file. Everything still worked from the Mac Mini but I could not connect from the other workstation.
    I never received the Open Directory message about services being offered etc.
    Both machines have identical network settings ( Fixed I.P. pointing the DNS to the server.) AFP sees the server from both workstations but I can not login from the third workstation using any known good user name and password not even the admin or the Macmini account and password that works from the Mac mini. I don't really know anything about open directory, do you need to register the computer name with the server or something to that effect.
    Why would it take hours for that original service offering to go out to the first workstation?
    Thanks for any help you can offer. All of my OSX server experience has been setting up file servers never any of the other offerings.
    Thanks,
    Rick

    Sorry,
    I posted this to the wrong forum. I re-posted in Open Directory.
    Thanks,
    Rick

  • Do you need a web browser and internet server to run LabVIEW remote front panel?

    Does anyone know if ones needs an internet server to use the Remote Front Panel application of LabVIEW, or is it also possible to use a LAN/WAN for the same application?  if it is possible, how does one set up such a system?

    You can do this on any IP based system (which includes LANs).
    Basically, you need to be able to ping the server and to have the RFP port allowed in the firewall.
    Then you need to enable the option in the application. If this is an executable, you will need to configure this in the Options dialog or copy some lines from the LabVIEW.ini file into your EXE's INI file. You will also need to take the htm file created by the publishing wizard and make sure it points to your VI and that it is located in a place where it can be accessed from outside the server (read the LV help or search the site for more on this).
    Then, you just need to enter the URL for that htm file in the browser on the client (e.g. 192.3.42.5/c/rfp.htm) and it should load.
    Try to take over the world!

  • I seem to have lost all my PDF on my I book I tried the browse and search  no response

    How do I get them back? Lost PDF 's on my I book?

    Afraid that you won't be able to restore your PDFs unless they were synced on your computer, or there are copies on your computer.
    HuskieN

  • Button that opens website or sends http commands

    I have a cocoa-applescript application that contains a window called "Window," a WebView called "Browser" and a Button called "go."
    All I would like to be able to do is push the button and it opens a website in the WebView. This seems simple but I cannot figure it out.
    Also if possible, since another button will be just giving commands to something over the internet, is there a way to send the http command without displaying the website?
    Just as some further Info, I am trying to make something to control my IP Webcam. Most of the commands it needs are in the form of "http://(ip address):(Port)/(the command).cgi"

    Didn't my WebView example help?
    Assuming you have an IB outlet connection from your webview to your script's instance for it (for example, myWebView), and an IB action connection from your button to your script's button handler, the code in your button handler would be something like:set theURL to current application's class "NSURL"'s URLWithString_("http://www.apple.com") -- or whatever
    myWebView's mainFrame's loadRequest_(current application's class "NSURLRequest"'s requestWithURL_(theURL))
    If all you want to do is send the command without any webview, you can use the curl shell utility.

  • How to send mail from adobe interactive form without opening the outlook

    Hello all,
    When the end user press the submit button i want it to send the XML data without opening the outlook or other mail application.
    Is there a way to do this?
    I tried javascript codes to send mail with UI = false but it did not work.
    Thank you all in advance,
    Eran

    mailForm
    Parameters: bUI, cTo, [cCc], [cBcc], [cSubject], [cMsgBody]
    Returns: nothing
    This method exports the form data and mails the resulting FDF file as an attachment to all recipients,
    with or without user interaction depending on the value of  bUI.
    If it is set to true then the rest of the parameters are used to seed the compose new message window that is displayed to the user.
    If bUI is set to false, the cTo parameter is required and all others are optional.
    You must use a semicolon u201C;u201D to separate multiple recipients in cTo, cCc, cBcc parameters.
    The length limit for cSubject and cMsgBody is 64k bytes.
    Example:
    /* This will pop up the compose new message window */
    this.mailForm(true);
    /* This will send out the mail with the attached FDF file to fun1 @ fun . com and fun2 @ fun . com */
    this.mailForm(false, "fun1 @ fun . com; fun2 @ fun . com", "", "", "This is the subject", "This is the body of the mail.");
    Note:
    This is a Windows-only feature. In addition, the client machine must have its
    default mail program configured to be MAPI enabled in order to use this method.
    I had to change the code:
    instead of this.mailDoc :
    var myDoc = event.target;
    myDoc.mailDoc(false, "fun1 @ fun . com; fun2 @ fun . com", "", "", "This is the subject", "This is the body of the mail." );       
    But the outlook new message window still opens...
    Any Idea's?
    Eran

Maybe you are looking for

  • Problems trying to install Verizon DSL to laptop..

    Hi, Im trying to install verizon dsl software from the setup cd but im having problems. At first, it opened the cd but i accidently closed it while it was running and now my laptop cannot read it. I already have a verizon account this one, and im usi

  • Can I download my Photoshop and Premiere II on 2 of my personal computers?

    Can I download my Photoshop and Premiere II on 2 of my personal computers?

  • Command-line to change CDE backdrop?

    Is there a way I can change the CDE backdrop from the commandline? Thanks. Birl

  • Action to quit applications?

    I want to write a script that will cause any open applications to quit WITHOUT saving the unsaved items within them. The open applications could be Mail, Entourage, iCal, Word, FileMaker, etc., etc., etc. (I can't predict what each individual user wi

  • Cant start in Windows

    Whenever I restart my computer, and hold down option it wont give me the choice of starting in windows or mac. It used to work fine, but now it doesnt want to work. So if theres anything that could fix it, or some way of changing the button you push