Android Question how to use JWT token authentication in Okhttputils

junaidahmed

Well-Known Member
Licensed User
Longtime User
I am using okhttputil2 library to get data from server via api.I would like to know how to use JWT token authentication in Okhttputils
 

Spavlyuk

Active Member
Licensed User
B4X:
Dim Job As HttpJob
Job.Initialize("ApiRequest", Me)
Job.Download(...)
Job.GetRequest.SetHeader("Authorization", "Bearer " & AuthorizationToken)
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…