Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


CMR Environment

Base API URL (through ECHO)

Associated URS Environment

Operational (OPS)

User Acceptance Test (UAT)

Systems Integration Test (SIT)

On a terminal window execute the curl command for the environment you have chosen.

Depending on the environment you have chosen, the Base API URL may be different from the example.  If so, just replace the purple text with the correct Base API URL that you need. If you are imbedding the token REST messages into a programming language, create an HTTP message and place the same components from the curl example into either the message header or body. 



UI Text Box
  <provider>Provider Id</provider>

We used mytokengenerator.xml for the file name. Then, the full curl command looks a little bit different:


UI Text Box

curl -X POST --header "Content-Type: application/xml" -d @mytokengenerator.xml

Again, if using a programming language, just place the curl example parts into the correct http message header or body locations.