When I make a GET request to
https://api.shapeways.com/materials/v1 to get a list of materials, all I get is the documentation JSON instead of real data. I'm passing my "access_token" from my OAuth2 request into the "Authorization" header, which I receive in the following format:
{
"access_token": "ACCESS_TOKEN",
"token_type": "bearer",
"expires_in": 3600,
"refresh_token": "REFRESH_TOKEN"
}
So here are my questions:
1. Is
https://api.shapeways.com/materials/v1 even the right URL to get a list of all Shapeways materials, or is that just the documentation URL?
2. Am I passing in my access_token correctly, by adding it as an HTTP header called "Authorization"?
3. Is there anything else I'm missing to get real data instead of the JSON documentation?
If it makes any difference, I'm using the WebClient class in C#.
Thanks,
Scott