# Multiform API Request

**URL:** <https://forum.bubble.io/t/multiform-api-request/339633>\
**Category:** APIs\
**Created:** [September 17, 2024, 12:41pm UTC](https://forum.bubble.io/t/multiform-api-request/339633 "2024-09-17T12:41:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![michal.friedrich](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/michal.friedrich/32/245543_2.png) [@michal.friedrich](https://forum.bubble.io/u/michal.friedrich)\
**Post date:** [September 17, 2024, 12:41pm UTC](https://forum.bubble.io/t/multiform-api-request/339633/1 "2024-09-17T12:41:14Z")

</div>

I want to make a HTTP JS Request. How can I configure it as in API connectors I always have to first choose the method.  
Anyway co connect directly and execure some JS before getting to POST call?

---

<div class="post-metadata">

**Author:** ![Baloshi69](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/baloshi69/32/136122_2.png) [@Baloshi69](https://forum.bubble.io/u/Baloshi69)\
**Post date:** [September 18, 2024, 7:14am UTC](https://forum.bubble.io/t/multiform-api-request/339633/2 "2024-09-18T07:14:26Z")

</div>

So, you want to run a script and then depending on the script you want to call the API with api connecotr.

why not user a run script, whcih trigger a workflow usering Java to bubble element with toolbox.

add a java to bubble element give it a suffix … and then with the workflow you want to trigger it, use `run script ` as step inside it, run your javascript and it the end of the script call the java to bubbile funciton the name would be `fn_bubble_suffix` the suffix here is the vlaue you added in your java to bubble element.

this will trigger a workflow in side it call the api connect. you can pass data into it, also just choose the correct type.

if you still stuck, ping me would love you walk you through it, and if i get it wrong . i appologize

---

<div class="post-metadata">

**Author:** ![michal.friedrich](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/michal.friedrich/32/245543_2.png) [@michal.friedrich](https://forum.bubble.io/u/michal.friedrich)\
**Post date:** [September 18, 2024, 7:38am UTC](https://forum.bubble.io/t/multiform-api-request/339633/3 "2024-09-18T07:38:50Z")

</div>

Actually what I am doing is sending a call that starts with Java Script and then later in it’s body it has specific call defined. It starts like this and then it has options defined which later have the method and whole body/bearer defined.

The call beginning:  
var request = require(‘request’);  
var fs = require(‘fs’);  
var options = {  
‘method’: ‘POST’, … and the life goes on 🙂

That’s why I need a raw/ no headers call. You can make one in make, but want to have this option in bubble as well. I know there is a plugin for that, but wonder if I can do it natively. As it should be possible.
