Authentication with new data service in sandbox
How can I pass in my username and password using the new sandbox tool? I tried adding them to the uri $username=xxx&$password=xxx but this does not work.
Pablo this stuff looks really great, I can't wait to put it through a workout.
Terrence
Hi,
You cannot pass them as parameters; credentials need to be exchanged in headers following the HTTP Basic auth scheme. If you are just using the browser and the "raw.htm" page, you can just hit the url from the page, and the browser will pop-up a dialog to enter username/password.
At least that works for me using IE7. If it does not work for you let me know and we'll follow up on it.
Pablo Castro
Technical Lead
Microsoft Corporation
Pablo the raw.htm page pops up the dailog box, but when I am using the tool, and Post-ing a entity to be inserted into the db, no dialog pops up and the error is "Permission Denied".
Are you able to add data to your service from the 'tool' ?
Thanks.
Terrence