-
Notifications
You must be signed in to change notification settings - Fork 463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clear cart returns html instead of json #258
Comments
I get an entire webpage when GET https://localhost:44350/cart as well. |
@KrzysztofPajak Out of curiosity, how come fetching a cart and getting a full webpage from an ecom API is not a bug but an enhancement? When would it ever be the expected bahaviour to get a webpage from an API? |
@magnuskarlssonhm I think you have right, it should be a bug. |
Is this ok for me to pick this one up as a first contribution? Already taken a look in the code and found the areas this resides. Is there a spec for the format of the JSON that is expected? I had a look on this page but it does not detail how the JSON should be formatted & the variable names - https://docs.grandnode.com/operations-on-shopping-cart |
Endpoint /cart/clear returns html insted of json when you make an web api call
The text was updated successfully, but these errors were encountered: