Hello everybody
I would like a request body (XML) in a HTTP Agent there set the current timestamp.
The time format is 2024-10-02T09:02:00.
First try: I put the following in the request body
The {TIME} macro is not supported in request bodies; maybe...
Second try: I put the following in the request body
I created a User Macro in the template: {$CURTIME} = {{TIME}.fmttime(%Y-%m-%dT%H:%M:%S)}
No of this tries was useful. What can I do differently to ensure a successful attempt?
I would like a request body (XML) in a HTTP Agent there set the current timestamp.
The time format is 2024-10-02T09:02:00.
First try: I put the following in the request body
Code:
<RequestTimestamp>{{TIME}.fmttime(%Y-%m-%dT%H:%M:%S)}</RequestTimestamp>
Second try: I put the following in the request body
Code:
<RequestTimestamp>{$CURTIME}</RequestTimestamp>
No of this tries was useful. What can I do differently to ensure a successful attempt?