NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: markster on April 05, 2014, 08:25:52 AM

Title: Set Web Service return URL
Post by: markster on April 05, 2014, 08:25:52 AM
I'm creating up a Web Service method for obtaining an OAuthToken and I need to set the return URL based on the URL parameter passed. Where do I do that?

Thanks,

Mark
Title: Re: Set Web Service return URL
Post by: Bruce on April 06, 2014, 11:22:13 PM
Hi Mark,

can you describe "return url" in a bit more detail please? I'm not sure what the context is for a "return url".

cheers
Bruce
Title: Re: Set Web Service return URL
Post by: markster on April 07, 2014, 10:56:41 AM
When issuing an OAuthToken for someone/site to access your GET/POST/etc service, as a security measure, the OAuth protocol normally has your program return the token generated to a URL that the requestor has specified. I've enclosed a graphic that shows API documentation for a company I'm interacting with.

Thanks,

Mark

[attachment deleted by admin]
Title: Re: Set Web Service return URL
Post by: Bruce on April 08, 2014, 06:15:11 AM
right, that shows the parameter as set in the GET. That's obviously accessible via the p_web.GetValue method.

question is - what happens to it after that? How does it appear in the response?

cheers
Bruce