External API Request - Adding arbitrary string data before the JSON.
![KenJ](https://us.v-cdn.net/6037124/uploads/userpics/22CE20SXDPY7/nM63D6JSW2HKB.jpg)
Hi, I am using the External API Request function and it works fine when loading JSON parameters. However I am hoping to see if I can add some arbitary string data BEFORE the JSON paramters are sent. The remote location can happily receive a string before the JSON data.
For example, I am trying to add the word WARN as a string to the message below:
WARN {"a":123,"b":456}
but find the External API Request function ignores any string I place first and keeps loading the parameters like below, which is its normal function. Any suggestions, thanking you.
{"a":123,"b":456}
Answers
-
did you try to use "update variable" for that, before request sending step, to modify data you are sending?
-
@KenJ better if you post here the API request you are doing to see haw it's constructed.
-
Thank you, I have found an alternative that seems to do an OK result.
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