Dears,
Actually, when i log in from the rest API, it returns correct data (my profile data..) through this API
http://momday.net/index.php?route=rest/login/login
For sure am sending in the header:
{Content-type: application/json, Accept: application/json, X-Oc-Merchant-Language: null, X-Oc-Merchant-Id: ......, X-Oc-Session: .......}
and this returns the correct data of my profile, but the issue is when I need to add something to the wishlist, logout, add to cart .... it returns this:
flutter: {Content-type: application/json, Accept: application/json, X-Oc-Merchant-Language: null, X-Oc-Merchant-Id: ..., X-Oc-Session: ...}
posting to http://momday.net/index.php?route=rest/ ... list&id=83
answer is {success: 0, error: [You must login or create an account to save item to your wish list], data: []}
why it return this? and i'm already logged in
All the other APIs are working good like getting the categories, products...
Thanks
This is not an OpenCart bug! Your issue is caused by a 3rd party extension implementing your REST API, so you need to get in touch with its author.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Who is online
Users browsing this forum: gsc1ugs and 42 guests