Expand my Community achievements bar.

The 5th edition of the Campaign Community Lens newsletter is out now!

How to do REST API call in ACS using javascript

Avatar

Level 2

How to insert/fetch data from ACS using Rest API call through Javascript?

2 Replies

Avatar

Community Advisor

You can translate your call to a node.js I think.

Thanks,

David

Avatar

Level 2

Hi David,

 

Yes we can use Nodejs, but my requirement is to update the custom table by implementing REST API call in Landing page.

Is it possible to use Node js in Landing page?

 

Thanks,

Abhishek

 

Avatar

Level 2

In postman you can save the curl code found in the documentation as javascript code. 

Avatar

Administrator

Hi @_abhishek_,

Were you able to resolve this query with the given solution by @bartt53947430 or do you need more help? Do let us know.

Thanks!

Avatar

Level 2

Hi @Sukrity_Wadhwa,

 

I need help in this. I tried copying the code generated in POSTMAN and run, it was giving CORS error.

Could you please help me with this?

 

Regards,

Abhishek

Avatar

Administrator
Thanks for the update. I will escalate this further.