What is the best way to execute http request in the Parse Server side?

Hi,

I know it is easy to import the axios or similar package into Parse Server side to make the http request, while just wondering if there is any integrated packge already in the Parse Server, so we could use directly?

Thanks a lot.

Yes. Parse has a module installed by default: Cloud Code Guide | Parse

1 Like

Note that Parse.Cloud.httpRequest is deprecated and will be removed beginning of next year. The reason is that it is based on a legacy http dependency that is already known to demonstrate weird behavior in some cases. We rather recommend to use one of the popular http libraries, like axios or whatever fits your use case.

1 Like