J junaidahmed Well-Known Member Licensed User Longtime User Jun 14, 2023 #1 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
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
S Spavlyuk Active Member Licensed User Jun 14, 2023 #2 B4X: Dim Job As HttpJob Job.Initialize("ApiRequest", Me) Job.Download(...) Job.GetRequest.SetHeader("Authorization", "Bearer " & AuthorizationToken) Upvote 0
B4X: Dim Job As HttpJob Job.Initialize("ApiRequest", Me) Job.Download(...) Job.GetRequest.SetHeader("Authorization", "Bearer " & AuthorizationToken)