...
Another way using curl if you don't want to escape any characters, you can use the "file input" option to create a file that looks like the following:
UI Text Box |
---|
< token > <token> < username >sample_username</ username > < password >sample-password</ password > < client_id >client_name_of_your_choosing</ client_id > < user_ip_address >your_origin_ip_address</ user_ip_address > < provider >Provider Id</ provider > </ token > token> |
We used mytokengenerator.xml for the file name. Then, the full curl command looks a little bit different:
...
A sample response from the curl call is the following, where the value in the id tag is the token you will use as the value in the Echo-Token header:
UI Text Box |
---|
<? xml version xmlversion = "1.0" encoding = "UTF-8" ?> < token > < id >75E5CEBE-6BBB-2FB5-A613-0368A361D0B6</ id > < username >sample_username</ username > < client_id >client_name_of_your_choosing</ client_id > < user_ip_address >your_origin_ip_address</ user_ip_address > < provider >Provider Id</ provider > </ token > |