Search found 2 matches

by awthird
Fri Aug 25, 2023 2:03 pm America/New_York
Forum: Home
Question: URS API calls
Replies: 1

Re: URS API calls

Operator error. I had the wrong URL. Instead of https://urs.earthdata.nasa.gov/api/users/uid=<my_own_uid>, it should have been https://urs.earthdata.nasa.gov/api/users/<my_own_uid>.
by awthird
Wed Aug 23, 2023 9:31 am America/New_York
Forum: Home
Question: URS API calls
Replies: 1

URS API calls

I can't seem to get a sensible response in using the URS API to search for a user by UID. I'm using curl like this: curl --request GET --url https://urs.earthdata.nasa.gov/api/users/uid=<my_own_uid> --header 'Authorization: Bearer <my_own_token>' The response I get is an HTML redirect to https://urs...