|
by: Keith Selbee |
last post by:
I am trying to submit data to a webpage in the form of a post and my code is
below. It is a function that takes a url and the post content as strings
and then performs the post. But as soon as I add the post data to the
headers I get an exception that just says "headers". Can anyone please help
me here? Thanks....
public string Get(string u, string c)
{
WebRequest wr = WebRequest.Create(u);
wr.Headers.Add(c);
|
by: Tony |
last post by:
Please help, I've scoured the web but cannot find an answer to this!
I want to use WebRequest to get the contents of a web page. The trouble is,
the page require you to go to a login page (using ASP - not ASP.NET), and
enter a username and password to get in.
How do I use WebRequest in this situation? I cannot find any way of
supplying the username and password. The '.Credentials' does not work because
that is only for Windows...
|
by: Paul |
last post by:
Hello,
I tried to execute a button on an aspx webpage using WebRequest, but it
failed.
When posting data as if I did a login (see code), I just receive the
login page, instead of the page I should get after login.
The button I tried to 'push' (by adding &login=Login in de posted data,
where login is the name of the login button - I verified this data by
capturing the data of a request using a webbrowser) has not executed.
|
by: Stephane |
last post by:
Hi,
I'm trying to use PayPal and its Instant Payment Notification. In short,
when a payment is made, PayPal send a post to my server and I post it back to
PayPal.
I'm using WebRequest to do this. I receive the PayPal post, but I can't post
it back. It's always giving me a Time out.
Here's my code:
|
by: Jensen Bredhal |
last post by:
Hello,
I need to send command to a web server from a method.
I understand this should be possible using the WebClient or WebRequest
class.
how can this be done?
below an example of my HTTP based command to the server:
|
|
by: Danny |
last post by:
I am working on a project where I will receive xml documents from clients
machines as a byte array. They will use the web browser navigate method to
post the data to my ASP.NET page. I then pick up the byte array using the
request object (XMLData=bytearray..). Can someone point me to an article that
shows me how I can do this in ASP.NET, C#?
Thanks
Danny
|
by: Savas Ates |
last post by:
I have a vb.net web application. I want to post some variables to another
web page and take some values back and process them.
This is codes in my target url. I should post "langpair" cariable to my
target url and it will respond with a value depend on a value which i send.
<SELECT name=langpair><OPTION
value=en|de>English to German</OPTION><OPTION
value=en|es>English to Spanish</OPTION>
</select>
|
by: Bob |
last post by:
Hi,
I am new to using a web resource which is not a webservice and I am
spinning my wheels with the webrequest class.
I am trying to interact with a URI that has been given to me.
It is say www.bloggs.com/cgi-bin/thin-client"
My app gathers data and is supposed to pass this data to the URI which will
then respond with a result.
So some real basic questions.
1)They have given me a user name and password to use.
|
by: Alok yadav |
last post by:
i am using the link of metacharge.com for payment gateway, when i post data
throung IE it give the correct response, but when i use the .net code to post
data the response is not correct.message is some data is missing.
i use the following code:
public class httpClass
{
private string UserName;
private string UserPwd;
|
by: davidson1 |
last post by:
Hai friends....the below code is working well for sending sms from VS2008 C# windows Application...........but i want the same to work in ASP.NET(vb)............can anyone help me....I converted the code and tried but it didnt work..............................................
In the String uri....under send_to put ur mobile Number...............
CODING:-(c# windows Application)
using System;
using System.Collections.Generic;
using...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|