Hi,
I have a situation where I need to use an HTTP task to pull a report from a third-party web-hosted application. I can do this manually by logging in and visiting the reporting page and telling it to download the report, but I'd like to automate this process. I've been fiddling around with a web traffic logger (which, ironically, is actually called "Fiddler"), which has helped me with part of this. I've been able to successfully create an HTTP task in VC to do the login part of this - the output of that task is this:
Now the issue I'm having is that the second HTTP task, although from what I can tell I've pointed it to the proper URL and send the proper headers and stuff, it doesn't realize that I've already logged in, so it takes me to the login page. This is the HTTP traffic from the login action:
So it does create a PHP session, but I don't know how to get that value and pass it in the second HTTP task. Or if that's even possible.
The application does have an API, but the problem is that I can't use that because they've put intrusive restrictions on the number of records we can pull at a time. We can only pull up to 4999 records per hour; what I'm trying to do is pull all our inventory to do a cross-check with our warehouse management system. With almost 6000 products, that means we can't pull them all in one shot. We'd have to pull say 2000, cross-check those and update the application's inventory. Then once an hour has passed, pull the next 2000, and so on. Using the report available manually, I can pull all inventory in one shot, so I'm trying to automate that piece.
Thanks.
Edited by moderator
2019-08-29T07:26:54Z
|
Reason: Not specified