Versions Compared

Key

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

...

CMR Environment

Base API URL (through ECHO)

Associated Earthdata Login (URS) Environment

Operational (OPS)

https://apicmr.echoearthdata.nasa.gov/

https://urs.earthdata.nasa.gov

User Acceptance Test (UAT)

https://api-test.echocmr.uat.earthdata.nasa.gov/

https://uat.urs.earthdata.nasa.gov

Systems Integration Test (SIT)

https://testbedcmr.sit.echoearthdata.nasa.gov/

https://sit.urs.earthdata.nasa.gov

...

Tip
titleExample

curl -X POST --header "Content-Type: application/xml" -d "<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> </token>" https://apicmr.echoearthdata.nasa.gov/echolegacy-services/rest/tokens


Note:

  • Depending on the environment you selected, the Base API URL may be different from the example.  If so, replace the purple text with the correct Base API URL.
  • If you are embedding 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.
  • If you have special characters in your password, you will probably need to escape them using a backslash.

...

Tip
titleExample

curl -X POST --header "Content-Type: application/xml" -d @mytokengenerator.xml https://api-test.echocmr.uat.earthdata.nasa.gov/echolegacy-services/rest/tokens

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

...