Article Alessandra Carena · Feb 4 7m read Generation of OpenAPI Specifications Introduction A REST API (Representational State Transfer) is an interface that allows different applications to communicate with each other through the HTTP protocol, using standard operations such as GET, POST, PUT, and DELETE. REST APIs are widely used in software development to expose services accessible by other applications, enabling integration between different systems. #JSON #ObjectScript #REST API #Tutorial #InterSystems IRIS 59 3 3 232
Question Alessandra Carena · Jan 30 Intercepting JWT Token in Cookies Instead of Authorization Header in Web Application I am building a web application that uses JWT for authentication. I would like to pass the token in cookies instead of the Authorization header.Is there a way to intercept the request and check the token from the cookies instead of the header? I tried overriding the OnPreDispatch() method and adding it to my dispatch class, but it seems like it never gets executed, as the response returns "Unauthorized" before reaching it. #Authentication #InterSystems IRIS 2 2 0 59
Question Alessandra Carena · Oct 10, 2024 How to Switch Namespaces and Access %SYS Namespace in an OpenAPI-Generated Classmethod? Hello everyone, I'm working with a class generated by OpenAPI in InterSystems IRIS, specifically impl.cls. In one of the classmethods of this class, I need to switch to the %SYS namespace to access system-level functionalities and then switch back to the original namespace. I tried using the following commands: #HealthShare #InterSystems IRIS 0 5 0 112