We are using VB.2010 to get orders.
The program will attempt to get all the orders in a loop.
There are only 6 orders in the system.
For MyPageCount = 1 to 99999
MyURL = vb.Replace(vb.Replace(MyBaseURL,"%page%",MyPageCou nt),"%limit%",1000)
MyWebRequest = WebRequest.Create(MyURL)
MyWebRequest.Credentials = New NetworkCredentials(pUser,pWD)
.....
MyResponse1PageStr = readStream.ReadToEnd()
next
But even though the URL has page=2 the response is the same as the first.
I was expecting
error": {
"code": 404,
"phrase": "Not Found",
"message": "Resource not found"
Help Please!
The program will attempt to get all the orders in a loop.
There are only 6 orders in the system.
For MyPageCount = 1 to 99999
MyURL = vb.Replace(vb.Replace(MyBaseURL,"%page%",MyPageCou nt),"%limit%",1000)
MyWebRequest = WebRequest.Create(MyURL)
MyWebRequest.Credentials = New NetworkCredentials(pUser,pWD)
.....
MyResponse1PageStr = readStream.ReadToEnd()
next
But even though the URL has page=2 the response is the same as the first.
I was expecting
error": {
"code": 404,
"phrase": "Not Found",
"message": "Resource not found"
Help Please!
Comment