ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexWebSphere Message Broker SupportProvide a rest api service

Post new topicReply to topic
Provide a rest api service View previous topic :: View next topic
Author Message
soudhanya
PostPosted: Tue Dec 04, 2018 1:31 pm Post subject: Provide a rest api service Reply with quote

Novice

Joined: 27 Feb 2017
Posts: 15

How to provide a rest api service with authentication. Please help.
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Wed Dec 05, 2018 5:37 am Post subject: Re: Provide a rest api service Reply with quote

Grand Poobah

Joined: 18 Nov 2003
Posts: 19816
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
View user's profile Send private message Send e-mail
soudhanya
PostPosted: Wed Dec 05, 2018 10:15 am Post subject: Reply with quote

Novice

Joined: 27 Feb 2017
Posts: 15

i haven't tried. Do you have any sample?
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Wed Dec 05, 2018 10:22 am Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 25361
Location: Ohio, 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
View user's profile Send private message
Vitor
PostPosted: Wed Dec 05, 2018 10:26 am Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 25361
Location: Ohio, 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
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker SupportProvide a rest api service
Jump to:



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
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.