Accessing secured services via the REST API

Discussion created by mapthis on Jul 21, 2010
Latest reply on Jul 22, 2010 by mapthis
I have been successfully using tokens to access secured map services for the Javascript API and I was hoping it was a similar approach for using the REST API directly, but it doesn't seem to be.  I want to do an export of a secured map service via the REST API, but I don't see any obvious way to provide either a token or a username/password combo.

I can access the service after providing the username and password in the Services Directory and perform the export by hand, but getting the direct URL working is where I'm running into trouble.

Any advice on how to do that?