× Requests and support related to jBackend.

Need some quickstart

More
8 years 7 months ago #5243 by X-Bit
Need some quickstart was created 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.

More
8 years 7 months ago #5244 by admin
Replied by admin on topic Need some quickstart
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.

More
8 years 7 months ago #5250 by X-Bit
Replied by X-Bit on topic Need some quickstart
Hello Luigi!
Thanks for your quick response!

For having an easy control over the settings I set the endpoint on the main menu: prntscr.com/c5z75e

I do not use SEF Urls for now and activated the following JBackup plugins: prntscr.com/c5z84q

I would like to check the JSON Output for the Categorie ID 128 and tried to do this by accessing: ao8zv.lehrmittelperlen.net/jbackend/rest/get/content/categories/128

Where went I wrong?

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago - 8 years 7 months ago #5534 by admin
Replied by admin on topic Need some quickstart
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.

More
8 years 7 months ago #5536 by X-Bit
Replied by X-Bit on topic Need some quickstart
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.

More
8 years 7 months ago #5542 by admin
Replied by admin on topic Need some quickstart
U're welcome.

Please Log in or Create an account to join the conversation.

Time to create page: 0.157 seconds