Question Mark O'Reilly · Jun 16, 2021

REST example

Trying to get started on REST api on https://learning.intersystems.com/course/view.php?id=681. Doing something basic wrong in my setup 

Product version: IRIS 2020.1

Comments

Eduard Lebedyuk · Jun 16, 2021

It should be

http://localhost:52773/user/api/test

and not:

http://localhost:52773/user/api/test/

Also, do either:

  • In application settings set Password as Allowed Authentication Method and in your Postman request add Basic Auth
  • In application settings add %ALL role in Application Roles
0
Mark O'Reilly  Jun 16, 2021 to Eduard Lebedyuk

Thanks. Had actually been attempting without the / at the end mainly. Adding the %ALL just itself allows it to run. 

0
Vic Sun  Jun 16, 2021 to Mark O'Reilly

Feel free to report this to online.training@intersystems.com. I've run into an issue before (coincidentally a separate REST course) where I had to fiddle with user permissions, and they updated the material.

0