Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have to services that listen to different ports on the same server.

First one is used to to authenticate users. I pass my username and password
in the URL and it returns a SessionId variable and my UserName.

How can I call the second service using this information?

Thank you...

What I have tried:

I have tried putting this info in headers,cookies
Posted
Updated 20-Oct-21 1:40am

1 solution

There is no way for us to know because we do not know how the service is built. You need to talk with whoever built the service.

REST services, for example, will usually return an authorization token and then you pass that token back in the header but your service seems to have it's own rules so check with who built it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900