How to Make POST Call?

  • 1
  • Problem
  • Updated 1 year ago
  • Solved
I am trying to make first POST call to an endpoint on page load but not sure where to define body? This is not user facing API. I tried to create UI Only model and added the fields. 

Example: On page load, a POST call need to made with below parameters and in response we will get confirmation. Later I would need POST call on an action as well.

Request Parameters: 

Please share thoughts.
Photo of San Prasad

San Prasad

  • 70 Points

Posted 1 year ago

  • 1
Photo of Zach McElrath

Zach McElrath, Employee

  • 49,004 Points 20k badge 2x thumb
San, you could use a REST Model to make the request and have the Model set to "Load Model data on page load".

See this tutorial on using REST Models with Skuid:

https://docs.skuid.com/v10.0.0/en/data/rest/