Shannon
08/05/2025, 6:00 AMCeligo AI
08/05/2025, 6:00 AMAI generated answer (using internal Slack threads):Yes, you can do an HTTP POST to a Suitelet. Suitelets that are configured as being "available without login" can accept both GET and POST requests. You can determine the HTTP method that was used by looking at
context.request.method
and you can get the request body using context.request.body
.
If you want to send a POST request to a Suitelet from a User Event script, you can use the code from the Suitelet in your User Event script. However, if you want to use the code in multiple places, it's recommended to put the code in a custom module that is shared between your scripts.
Please note that internal Suitelet URLs require a valid JSESSIONID cookie to be sent. If your User Event is triggered from the UI, you can retrieve the JSESSIONID cookie from the user for use in the User Event script, where you can send the cookie in your request.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
08/05/2025, 6:00 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.849703133
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.843495846
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.841331601
Celigo AI
08/05/2025, 6:00 AM