Need some quickstart
-
X-Bit
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 19
-
Thank you received: 0
-
-
8 years 7 months ago #5243
by X-Bit
Hello!
I am really sorry for the lame title but I really can`t get a grip on JBackend.
I have a test-site where I followed the little tutorial on
www.selfget.com/products/jbackend.html and it does not seem to work.
please see
ao8zv.lehrmittelperlen.net/ for reference.
When I call the front site I receive in Postman / JSON:
Unexpected '<'
I tried to access categories and articles as well, but receive always the same error.
Any help would be highly appreciated!
If you like I can provide backend access for the site as this is just a copy.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
8 years 7 months ago #5244
by admin
Hi,
probably there is an issue with your endpoint settings. Send me a PM at info(at)selfget.com with the full endpoint URL, and I will help you to fix this issue with the initial setup.
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
-
X-Bit
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 19
-
Thank you received: 0
-
-
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
8 years 7 months ago - 8 years 7 months ago #5534
by admin
Hi,
the problem is that you are not using the SEF URLs, so you cannot use then neither for jBackend as well. Try this:
http://ao8zv.lehrmittelperlen.net/index.php?option=com_jbackend&view=request&Itemid=635&action=get&module=content&resource=categories&id=128
And you will get:
{
"status": "ok",
"id": "128",
"title": "Perlen-Blog",
"alias": "blog",
"description": "",
"metadesc": "",
"metakey": "",
"metadata": {
"author": "",
"robots": ""
},
"language": "*",
"parent_id": "300",
"level": "2",
"numitems": "2099"
}
Kind regards,
Luigi
Last edit: 8 years 7 months ago by admin.
The following user(s) said Thank You: X-Bit
Please Log in or Create an account to join the conversation.
-
X-Bit
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 19
-
Thank you received: 0
-
-
8 years 7 months ago #5536
by X-Bit
Yes! Thank you so much!
I changed to SEF Urls and was able to reproduce the result. Thank you for your help!
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
Time to create page: 0.157 seconds