|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Provide a rest api service |
« View previous topic :: View next topic » |
Author |
Message
|
soudhanya |
Posted: Tue Dec 04, 2018 1:31 pm Post subject: Provide a rest api service |
|
|
Novice
Joined: 27 Feb 2017 Posts: 20
|
How to provide a rest api service with authentication. Please help. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Dec 05, 2018 5:37 am Post subject: Re: Provide a rest api service |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
soudhanya wrote: |
How to provide a rest api service with authentication. Please help. |
Did you look at the samples?
Did you add a PEP node?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
soudhanya |
Posted: Wed Dec 05, 2018 10:15 am Post subject: |
|
|
Novice
Joined: 27 Feb 2017 Posts: 20
|
i haven't tried. Do you have any sample? |
|
Back to top |
|
 |
Vitor |
Posted: Wed Dec 05, 2018 10:22 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
soudhanya wrote: |
i haven't tried. Do you have any sample? |
There are samples with the Toolkit. They also have this new thing called "Google" you might want to try.
soudhanya wrote: |
How to provide a rest api service with authentication |
This is also highly ambiguous. Do you want to have your hand held as you create a REST API, which also has authentication, or do you have a REST API that you want to add authentication to?
In any event, and with respect to my worthy associate, why do you not follow the instructions in the documentation to get whichever input node you're using to do the authentication? Avoiding a PEP node completely? Unless you have additional authorization and/or authentication requirements you've failed to mention along with the version of the software you're using, what you've already tried or indeed almost anything????
 _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Dec 05, 2018 10:26 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
My mistake. I misread your post:
soudhanya wrote: |
i haven't tried. |
If I'd read that correctly, I'd have realized you wanted your hand held.
So trying thinking for yourself, reading some of the documentation, looking at some of the samples in the Toolkit, thinking for yourself (I mention this twice because it's so important) and then posting back here when you get stuck.
I offer this one hint:
Almost every REST API requires authentication of some kind to use. IBM, being staffed by clever people, will have realized this and (to aid sales if nothing else) added some kind of tooling within the software to do this.
So if you end up writing tons of code and going through the Internet for hours looking for clues, you're missing something. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|