Chilkat Forum

Technologies => REST / HTTP / HTTPS => Topic started by: ruedi on December 21, 2017, 08:04:37 AM

Title: API Query Parameter
Post by: ruedi on December 21, 2017, 08:04:37 AM
Hi,

I have thried to get data from a Shopware webshop with http.QuickGetStr in VB6.
The url in a browser like Chrome delivers exactly the right data. http.QuickGetStr only delivers data without the query parameters "?filter[0][property]=customerId&filter[0][value]=1".

https://[domain].com/api/orders/?filter[0][property]=customerId&filter[0][value]=1

In http.LastErrorText I always find the following status:
                statusCode: 400
                statusText: Bad Request

Are the reasons for this behavor
Title: Re: API Query Parameter
Post by: dev guy on December 28, 2017, 03:42:33 PM
Hi ruedi,

There could be many reasons for the 400 error. Please post the output from .LastErrorText and .SessionLogFilename to this thread so that we can help you.
Title: Re: API Query Parameter
Post by: ruedi on January 10, 2018, 02:40:04 AM
Hi dev guy

In the attachments are the outputs of LastErrorText and SessionLogFilename.