TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
aay jay
NA
85
0
Httpclient post to get securitytoken and then get request
Apr 7 2020 10:08 AM
I have wep api that requires
1) post a request with username and password to get security token
when I ran through postman as
post: myurladdress
body: {username: abc,password:password}
it return data with securitykey
2) then get request to get the result data
postman:
Get: myurladdress2
Headers
content-type: application/json
securitykey: securitykey (this one is return from method 1)
this will give me desire data
how can I accomplish this in httpclient
Reply
Answers (
1
)
How to Create Base Controller in Asp.net Core MVC?
MVC Controller Get Parameter Null Always