[IMPLEMENTED] How to make post Json scripting method

Create extension/new functionality for

which add scripting a new secure way of making a post request similar to

Makes a request to the defined URL and adds the specified headers to the
request. If the request succeeds with a HTTP response status code (2XX)
and a valid JSON response is returned the callback is invoked and the
JSON response is passed to the callback as a JSON object… The script
fails otherwise.

I can implement it or you provide a PR. A little bit of copy and paste, should not be that hard :wink:

What will be the steps for implementing this.

It is this class: https://github.com/Squidex/squidex/blob/087f6d1a09ed4b7a9381d1f5217750f294cf87dd/backend/src/Squidex.Domain.Apps.Core.Operations/Scripting/Extensions/HttpJintExtension.cs

But I can also do it…

I am working on it right now.

This topic was automatically closed after 2 days. New replies are no longer allowed.