NetTalk Central

Author Topic: Set Web Service return URL  (Read 2782 times)

markster

  • Full Member
  • ***
  • Posts: 204
    • View Profile
    • Email
Set Web Service return URL
« 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Set Web Service return URL
« Reply #1 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

markster

  • Full Member
  • ***
  • Posts: 204
    • View Profile
    • Email
Re: Set Web Service return URL
« Reply #2 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]

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Set Web Service return URL
« Reply #3 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