« Back to full topics list
0
0

Hello,

I read your documentation and tried a couple of scripts on your environment. It looks very nice, but I have a few questions:

1) Running the scripts from there, I can see that all invocations are sent through http POST. Do you support other verbs?

2) We do not use ‘multipart/form-data’ as ‘Content-Type’ in our application when calling external API, but only support ‘application/json. Is this a problem when invoking a scriptr.io script?

ANSWERED
Marked as spam
Posted by - Asked on March 5, 2017 11:52 pm - 15 views

2 Replies

0
Private reply

Hi Lucas,

Thank you for using scriptr.io and contacting us. Answering your questions:

1) The http module supports POST, PUT, GET and DELETE.

2) Scriptr.io does not require the content-type to be “multipart/form-data”, it accepts many content-types. So you can definitely send “application/json”.

Have a nice day!

Julien Mrad
Scriptr.io Support

Marked as spam
Posted by - Replied on March 6, 2017 10:34 am
0
Private reply

Thank you Julien.

Marked as spam
Posted by - Replied on March 8, 2017 8:14 pm