Search
× Search

App

Get content-items list with REST from outside 2sxc

This demo retrieves the list, but assumes you're not inside a 2sxc-module. There are a few differences:

  1. no $2sxc used
  2. the app-name is not "auto" but "Tut-JS-REST", as it can't auto-detect the app
  3. note that this requires the settings to allow anonymous access

These is where the categories will appear

Helper Values for this Tutorial

When calling REST & WebApi of the current module then the system can automatically figure out which module etc. is used. But when using external calls (from another module, from the skin or from another site), then the URL must include this information. The field below offer the values for the current system/portal (it changes a bit on sub-portals and dnn-versions). In real-life calls you would hard-wire them into your external scripts / code.
Endpoint root:
Terms Of UsePrivacy StatementCopyright 2024 by WebNet
Back To Top