krl
How do I force the rerun of the app's initial rule?
I have an app that has a login/logout functionality.Upon logout, I am clearing the entity variable.How do I force the app to rerun the开发者_StackOverflow社区 initial rule and display the login form?Y[详细]
2023-04-06 19:27 分类:问答KRL: Comparing two timestamps
I have two timestamps created with time:now() (one stored in an app variable from the past, one the current time). I need to find the 开发者_如何学Godifference between them (preferably in minutes). Ho[详细]
2023-04-06 05:16 分类:问答How do I set entity variable with value within an emit
I\'m retrieving a value within an emitted code block that I would like to set an entity variable to.This is what I\'m trying to do:[详细]
2023-04-06 02:18 分类:问答KRL: Pragmatically access current ruleset id
How do I get the name of the current ruleset in a KRL rule? I find that I often write notify(\"a421x70\",\"Your Message Here\") with sticky = true;[详细]
2023-03-30 05:25 分类:问答How to tell if the result of pick() is a string
I\'m using the Goodreads API through a datasource. I search with the ISBN number, and it returns results if it has any. Here\'s what it looks like if the book was found:[详细]
2023-03-14 13:35 分类:问答KRL: Getting the "location" header from an http:post()
I\'m sending an HTTP POST request to a URL. It sends back a piece of information I need in the location header of the response. How do I get that header? I\'ve tried the following code and it doesn\'t[详细]
2023-03-13 05:02 分类:问答KRL webhooks receiving JSON
I\'m trying to set up a Webhook for Amazon SNS. SNS will send a JSON object to the webhook. Based on the KRL documentation I can get the event parameters using event:param(\'name\'). That works for fo[详细]
2023-03-10 12:09 分类:问答KRL module that is configured with API key
I\'m writing a KRL module for an API. The API requires an access key, and that needs to be provided by the ruleset that calls my module. My module includes my access key that is used by the in-module[详细]
2023-03-09 10:40 分类:问答Kynetx and SOAP
I have been searching the web and Kynetx.com for any documetation or examples of how to use SOAP with KRL but have come up with nothing. Sadly the web services I am working with has a lot of SOAP rath[详细]
2023-03-09 07:34 分类:问答KRL: Signing requests with HMAC_SHA1
I made a test suite for math:hmac_* KRL functions. I compare the KRL results with Python results. KRL gives me different results.[详细]
2023-03-07 06:05 分类:问答