Support POST request in custom Scripting

Hiya,

I would like to ask about the possibility of making POST requests inside custom Scripting. Although the documentation does not say directly which method the getJSON function uses under the hood, the name suggests the GET method. We would like to be able to post the payload to our API which only supports POST hence the feature request.

It is already support:

Should be:

postJSON(url,body,callback,headers)
1 Like

awesome, thanks @Sebastian

I would probably recommend to update the documentation though https://docs.squidex.io/02-documentation/developer-guides/scripting (unless this is an old version and there is a newer one?)

I thought I have already done it, but obviously is this not the case :frowning:

1 Like