Save data in test data source
Options
![Niraj Chourasia](https://us.v-cdn.net/6037124/user_avatars/1901481.jpg)
Niraj Chourasia
Member ✭
Hello All,
I have a function that calls external api & get some results from them. That result we need to save in test data source. Please guide us.
Thanks
I have a function that calls external api & get some results from them. That result we need to save in test data source. Please guide us.
Thanks
Comments
-
Set Header: X-Data-Source: test on your endpoint
https://docs.xano.com/database/data-sources#set-header-method -
Hi inside function, we have function where we are calling external api that returining data that we need to save in test data source, so i there are no xano api or end point i guess.
-
Ok I would just put the function in an API endpoint then add the header
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback