新しい投稿

検索

ダイジェスト
· 2024年7月15日

Join the InterSystems Python Contest!

Dear Community member,

We're excited to invite you to participate in the 🏆 InterSystems Python Contest 🏆

This contest is the perfect opportunity to demonstrate your expertise with InterSystems IRIS, InterSystems IRIS for Health, or IRIS Cloud SQL and express your love for Python (or Embedded Python). Whether you're a seasoned developer or just getting started, we welcome all enthusiasts to take part.

Duration: July 15 - August 4, 2024

Prize pool: $14,000

The topic: Develop any solution using InterSystems IRIS or InterSystems IRIS for Health or IRIS Cloud SQL that uses Python (or Embedded Python) as a programming language.

Ensure you seize this incredible opportunity to push your limits, collaborate with other developers, and claim fantastic rewards. Share the news and invite your friends and colleagues to join in, too!

We can't wait to see your cutting-edge solutions!

>> Full contest details here.

We're looking forward to your entries 😉

質問
· 2024年7月15日

Set-cookie blocked in non-https test environment web browser for REST API.

Hey,

I'm testing a REST API that is used for our IRIS Backend with a mobile app (Angular / ionic). 

The problem is that, our test environment does not yet have HTTPS capabilities, it's something we're going to set up ASAP, but right now we don't have it set up. 

We want to test the API endpoints via a web browser using either a test application built in Angular, or the app itself built with NPM via the browser. This means that the set-cookie headers are being blocked by the browser. 

Is there a way that we can allow the set-cookie header to be set in the browser for testing? 

It's also worth noting that if I test with a browser on my localhost, then the endpoints work as intended, but if I test using our remote test server, they do not, which is why I've tried adding CORS headers etc, but nothing seems to work so far. 

The requests also work as intended via Postman always.

My suspicion is that the issue is relating to javascript being blocked from accessing the HTTP headers: Set-Cookie - HTTP | MDN (mozilla.org) but I am out of ideas currently.


Things I've tried so far;

  • Manually adding same-site ="none" and removing checks requiring HTTPS if same-site="none" in %CSP.Response
  • Manually adding CORS headers to the writehttpcookie method in %CSP.Response
  • Ensuring withcredentials is setup on the frontend requests

 

Any help would be greatly appreciated, 

 

Thanks

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
ダイジェスト
· 2024年7月15日

Nuevas publicaciones en la Comunidad de InterSystems, 8-14 julio

Artículos
#InterSystems IRIS
#InterSystems IRIS for Health
#VSCode
Anuncios
#InterSystems IRIS
#Comunidad de Desarrolladores Oficial
Preguntas
#InterSystems IRIS
8-14 julioWeek at a GlanceInterSystems Developer Community
お知らせ
· 2024年7月15日

[Vidéo] Qu'est-ce que l'IA générative ?

Salut la communauté !

Besoin d'une introduction à l'IA générative ? Learning Services est ravi d'annoncer la première vidéo d'une nouvelle série sur les bases de GenAI :

🧐 What Is Generative AI?

Dans cette vidéo:

  • Découvrez comment GenAI vous aide à créer du contenu nouveau et original.
  • Explorez les applications pratiques et les considérations éthiques.

💻 Prêt à en savoir plus ? Continuez à apprendre avec le parcours d'apprentissage Getting Started with Generative AI (2h 45m).

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
質問
· 2024年7月15日

i need ISO timezone date format

Hi Team,

This is very urgent can you please guide me to convert the date string to ISO format.

set date = "20240501144800-0500"

set result = $SYSTEM.SQL.Functions.TOTIMESTAMP(date, "YYYYMMDDHHMISS")

write result -> 2024-05-01T16:49:00:00+00:00

so here timezone is dropped off but i need that.

expected result -> 2024-05-01T16:49:00-05:00

 

Please help me here how i can convert in this format.

2 Comments
ディスカッション (2)1
続けるにはログインするか新規登録を行ってください