473,769 Members | 3,350 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to mimic a user's browser session

I've got some SQL data file of names/addresses that I would like to
import on a daily basis into the FedEx.com website's address book. If
you have a FedEx account (like our company does), you can manually do
an import of a CSV file.

I would like to eliminate manual intervention into this. We don't
signup for the FedEx software to run locally (which from what I
understand, they have an API to interact with).

So the only solution I can think of is to attempt to mimic a users
input by making HTTP calls to the site, but I really don't know where
to start with this, or if it's even possible.

So for example I would have to
1) go to the FedEx home page
2) enter a username/password
3) go to their shipping page
4) go to the address book tab
5) click on import
6) click on browse and set the filename, choose file type from the
drop down
7) click import now

Can I emulate this action from code? I would think I can since
everything boils down to an HTTP call, but is it practical?
Dec 5 '07 #1
2 1380
DNB
I don't think it is practical....al so what if tomorrow fedex changed there
interface, then again you need to rewrite new code.

Well good luck
DNB
"Larry Bud" <la**********@y ahoo.comwrote in message
news:3d******** *************** ***********@f3g 2000hsg.googleg roups.com...
I've got some SQL data file of names/addresses that I would like to
import on a daily basis into the FedEx.com website's address book. If
you have a FedEx account (like our company does), you can manually do
an import of a CSV file.

I would like to eliminate manual intervention into this. We don't
signup for the FedEx software to run locally (which from what I
understand, they have an API to interact with).

So the only solution I can think of is to attempt to mimic a users
input by making HTTP calls to the site, but I really don't know where
to start with this, or if it's even possible.

So for example I would have to
1) go to the FedEx home page
2) enter a username/password
3) go to their shipping page
4) go to the address book tab
5) click on import
6) click on browse and set the filename, choose file type from the
drop down
7) click import now

Can I emulate this action from code? I would think I can since
everything boils down to an HTTP call, but is it practical?

Dec 5 '07 #2
On Dec 5, 3:06 pm, "DNB" <i...@ii.comwro te:
I don't think it is practical....al so what if tomorrow fedex changed there
interface, then again you need to rewrite new code.

Well good luck
DNB

"Larry Bud" <larrybud2...@y ahoo.comwrote in message

news:3d******** *************** ***********@f3g 2000hsg.googleg roups.com...
I've got some SQL data file of names/addresses that I would like to
import on a daily basis into the FedEx.com website's address book. If
you have a FedEx account (like our company does), you can manually do
an import of a CSV file.
I would like to eliminate manual intervention into this. We don't
signup for the FedEx software to run locally (which from what I
understand, they have an API to interact with).
So the only solution I can think of is to attempt to mimic a users
input by making HTTP calls to the site, but I really don't know where
to start with this, or if it's even possible.
So for example I would have to
1) go to the FedEx home page
2) enter a username/password
3) go to their shipping page
4) go to the address book tab
5) click on import
6) click on browse and set the filename, choose file type from the
drop down
7) click import now
Can I emulate this action from code? I would think I can since
everything boils down to an HTTP call, but is it practical?- Hide quoted text -

- Show quoted text -
True, good point.
Dec 5 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4244
by: Jim | last post by:
I was wondering if there was a way I could write a script to change my user profile/info on a site using an html form inside a .php page without having to log in and do it all manually. I can get my session id for each session out of my cookies, but I don't know how I could pass the ID (or my user id/password) and the form data to mimic the form post from either a script or an html page of my own design to speed up and customize the...
5
2074
by: Michelle Stone | last post by:
Hi everybody I am writing a simple asp.net application using form authentication. I store the list of all users and their passwords in an SQL Server database table. My client recently told me that he wants me to do something through which only one user can login using any given account name. I mean to say, for example, when a user called "abc" is online, another person shouldn't be
7
2918
by: jsale | last post by:
I'm currently using ASP.NET with VS2003 and SQL Server 2003. The ASP.NET app i have made is running on IIS v6 and consists of a number of pages that allow the user to read information from the database into classes, which are used throughout the application. I have made class collections which, upon reading from the DB, create an instance of the class and store the DB values in there temporarily. My problem is that if user1 looks at...
19
678
by: Moon | last post by:
Bergamot wrote in <6i534eFolqk5U1@mid.individual.net>: Done! http://moon.descentforum.net/creep/ with 2 issues though: I liked the funtionality of target="_blank", so people that are unaware of
0
9590
marktang
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...
0
9424
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10223
Oralloy
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...
1
10000
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,...
0
9866
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8879
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7413
isladogs
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...
0
6675
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();...
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.