본문 바로가기
  • AI (Artificial Intelligence)

All633

Webhook Data Format Ref. www.contentstack.com/docs/developers/set-up-webhooks/webhook-data-format/ When a webhook is triggered, the data received is in the following format: Method: POST Headers: "Content-Type: application/json", "Contentstack-Signature:9876543210" "Body":{ "event":"string", "module":"string", "api_key":"string", "data":"object" } Details of the POST call's 'Body' keys: event One of these [create, .. 2021. 4. 12.
The Logic Apps Webhook Action and the Correlation Identifier Pattern Ref. platform.deloitte.com.au/articles/correlation-identifier-pattern-on-logic-apps Introduction In many business scenarios, there is the need to implement long-running processes which first send a message to a second process and then pause and wait for an asynchronous response before they continue. Being this an asynchronous communication, the challenge is to correlate the response to the origi.. 2021. 4. 12.
Event-sourced game implementation example Part 1/3: Getting started Ref. scalac.io/blog/event-sourced-game-implementation-example-part-1-3-getting-started/ Hi, in this post series we’ll create a really simple (yet complete) event-sourced game. It won’t be anything spectacular thus its rules are as simple as: game creator specifies players taking part each player, one after another, has an opportunity to roll the dice each player’s oppor.. 2021. 4. 12.
What Is an Event-Driven Architecture? Ref. hazelcast.com/glossary/event-driven-architecture/ An Event-Driven Architecture for data and applications is a modern design approach centered around data that describes “events” (i.e., something that just happened). Examples of events include the taking of a measurement, the pressing of a button, or the swiping of a credit card. An event-driven architecture enables applications to act on th.. 2021. 4. 12.
AWS SAM Local (베타) – 로컬 기반 서버리스 앱 테스트 및 개발 도구 Ref. stackoverflow.com/questions/12644075/how-to-set-python-variables-to-true-or-falseaws.amazon.com/ko/blogs/korea/new-aws-sam-local-beta-build-and-test-serverless-applications-locally/ 오늘 신규 서버리스(Serverless) 개발 도구 인 SAM Local 베타 버전을 발표했습니다.이 도구를 통해 로컬에서 쉽게 작성하고 테스트 할 수 있습니다. 이 글에서는 SAM local을 사용하여, 개발자들이 코드 개발 시, 탭 혹은 스페이스 선호도 투표 할 수 있는 빠른 애플리케이션을 빌드, 디버그 및 배포하는 예제를 소개해 드리고자 합니다. AWS는 작년에 Serv.. 2021. 4. 9.
How to set python variables to true or false? Ref. stackoverflow.com/questions/12644075/how-to-set-python-variables-to-true-or-false you set a variable to true or false by assigning True or False to it: myFirstVar = True myOtherVar = False If you have a condition that is basically like this though: if : var = True else: var = False then it is much easier to simply assign the result of the condition directly: var = In your case: match_var = .. 2021. 4. 7.
Hands-On Examples for Working with DynamoDB, Boto3, and Python Ref. highlandsolutions.com/blog/hands-on-examples-for-working-with-dynamodb-boto3-and-python 정리해야 하는데 정리할 시간이.. Python을 이용한 DynamoDB 핸들이라 생각하면 되겠네요. 위 링크로 직접가셔서 예제를 참고하세요. 도움이 많이 됩니다. In this post, we’ll get hands-on with AWS DynamoDB, the Boto3 package, and Python. In my experience, I’ve found the documentation around this technology can be scattered or incomplete. I’ll do my best to explain an.. 2021. 4. 7.
How To Use JSON Web Tokens (JWTs) in Express.js Ref. www.digitalocean.com/community/tutorials/nodejs-jwt-expressjs 이 친구 설명 참 잘 해놨다. 나도 추후에 이런 포멧으로 설명을 하고싶다. * 그림이나 코드 부분이 깨질 수 있습니다. 위에 링크로 가서 원본을 확인하시기 바랍니다. ** 개인적인 히스토리를 보관 역할을 하는 블로그이니 이점 참고 바랍니다. Introduction JSON Web Tokens (JWTs) supports authorization and information exchange. One common use case is for allowing clients to preserve their session information after logging in. By storing .. 2021. 3. 31.
The right and wrong way to set Python 3 as default on a Mac Ref. opensource.com/article/19/5/python-3-default-mac 창피한 얘기지만 새로 프로젝트를 개발하는 겸 최신 버전으로 개발하려 하였는데 여러가지로 복잡하였다. 하지만 이곳은 아주 쉽게 버전을 관리해 주었고 아주 만족하고 있다. 10년이 넘었지만 여전히 환경 설정이 가장 힘들다.. I've been dipping my toe back into Python development as I get ready to head to PyCon US. (If you're headed there as well and want to share your Python story, let me know!) When I installed a module to tinker around with.. 2021. 3. 31.
zsh: no matches found: requests[security] Ref. stackoverflow.com/questions/30539798/zsh-no-matches-found-requestssecurity Question: I am trying to run a python urllib2 script and getting this error: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/s.. 2021. 3. 31.
Getting started with AWS Kinesis using Python Ref. www.arundhaj.com/blog/getting-started-kinesis-python.html Amazon Kinesis is a fully managed stream hosted on AWS. It is used to collect and process large streams of data in real time. Along with Kinesis Analytics, Kinesis Firehose, AWS Lambda, AWS S3, AWS EMR you can build a robust distributed application to power your real-time monitoring dashboards, do massive scale batch analytics, etc. .. 2021. 3. 31.
if…elif…else in Python Ref. www.datacamp.com/community/tutorials/elif-statements-python?utm_source=adwords_ppc&utm_campaignid=898687156&utm_adgroupid=48947256715&utm_device=c&utm_keyword=&utm_matchtype=b&utm_network=g&utm_adpostion=&utm_creative=229765585183&utm_targetid=dsa-429603003980&utm_loc_interest_ms=&utm_loc_physical_ms=1011036&gclid=Cj0KCQjwmIuDBhDXARIsAFITC_63iynsnniNZ_kFR0k5K4kO4e-vQr6RqJO03NArzweHSep6AMRZc.. 2021. 3. 31.
Best Practices for Designing a Pragmatic RESTful API Ref. www.vinaysahni.com/best-practices-for-a-pragmatic-restful-api#pagination Key requirements for the API Many of the API design opinions found on the web are academic discussions revolving around subjective interpretations of fuzzy standards as opposed to what makes sense in the real world. My goal with this post is to describe best practices for a pragmatic API designed for today's web applic.. 2021. 2. 22.
Facebook uses Memcache Clusters Ref. medium.com/@shagun/scaling-memcache-at-facebook-1ba77d71c082 Comments: 가장 널리 사용되는 캐싱 서버 기술 2개는 Redis와 Memcache다. This week I read up on Scaling Memcache at Facebook. The paper captures the story of how Facebook created a high-performing, distributed key-value store on top of Memcache (which was back then a simple, in-memory cache) and scaled it to support the world’s largest social network... 2021. 2. 22.
JSON Web Token Tutorial Ref. www.toptal.com/web/cookie-free-authentication-with-json-web-tokens-an-example-in-laravel-and-angularjs With the rising popularity of single page applications, mobile applications, and RESTful API services, the way web developers write back-end code has changed significantly. With technologies like AngularJS and BackboneJS, we are no longer spending much time building markup, instead we are .. 2021. 2. 5.
openid-client Ref. www.npmjs.com/package/openid-client openid-client is a server side OpenID Relying Party (RP, Client) implementation for Node.js runtime, supports passport. Implemented specs & features The following client/RP features from OpenID Connect/OAuth2.0 specifications are implemented by openid-client. OpenID Connect Core 1.0 Authorization Callback Authorization Code Flow Implicit Flow Hybrid Flow .. 2021. 2. 4.
Handling those unhandled promise rejections with JS async/await Ref. jonasjancarik.medium.com/handling-those-unhandled-promise-rejections-when-using-javascript-async-await-and-ifee-5bac52a0b29f 2020 update: I updated the guide to reflect how the message has changed in the more recent versions of Node.js and I also shortened the post. If you are looking for the old version, you can find it in the Internet Archive. The Problem If you are seeing this error: [Un.. 2021. 2. 4.
Authentication and Authorization Ref. swagger.io/docs/specification/authentication/ OpenAPI uses the term security scheme for authentication and authorization schemes. OpenAPI 3.0 lets you describe APIs protected using the following security schemes: HTTP authentication schemes (they use the Authorization header): Basic Bearer other HTTP schemes as defined by RFC 7235 and HTTP Authentication Scheme Registry API keys in headers,.. 2021. 2. 3.