JSONAPI Mini-Basket update does not work

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
stiller
Posts: 87
Joined: 05 Mar 2016, 15:59

JSONAPI Mini-Basket update does not work

Post by stiller » 05 Jun 2018, 09:46

hi there.

I'm expiriencing problems to update the mini-basket without page reload.
the JSONAPI url contains escaping backslashes and returns a 404
"basket":"http:\/\/typo3.demo.aimeos.org\/demo\/jsonapi\/r\/basket\/"
the demo systems does not show this behaviour
what is causing this? php settings?
how can I avoid it?
any advice appreciated

aimeos 18.1.1
typo3 8.7.10
php 7.0.30

cheers

User avatar
aimeos
Administrator
Posts: 7866
Joined: 01 Jan 1970, 00:00

Re: JSONAPI Mini-Basket update does not work

Post by aimeos » 06 Jun 2018, 07:19

The backslashes are normal because they are added by json_encode() to conform to the JSON specification. Your problem must be a different one.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

stiller
Posts: 87
Joined: 05 Mar 2016, 15:59

Re: JSONAPI Mini-Basket update does not work

Post by stiller » 06 Jun 2018, 11:16

no need to investigate further.
I've figured out today that the jsaonapi is not working with typo3 debug modus on.
switching if off produced correct urls without backslashes.

thank you

Post Reply