B4X FEED [BANano] How can I do what BANano.CallInlinePHPWait but then be able to add/process request headers?

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: [BANano] How can I do what BANano.CallInlinePHPWait but then be able to add\/process request headers? است. این موضوع تا کنون 33 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع [BANano] How can I do what BANano.CallInlinePHPWait but then be able to add\/process request headers?
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
33
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
Hi there

I'd like in each BANano.CallInlinePHPWait call I do, add a token on the request header, to be processed on the PHP side.

Scenario.
  • A user logs in, the server generates a token, records it for this user and then gives this to the user. I can do this as part of the return result from the server user verification process or via a header. Not sure.
  • The user receives the server generated token and save it to local storage / cookie
  • Any CRUD calls to the server will send this token, the server verifies if token is valid before processing CRUD request.
Im thinking that perhaps using request headers for such could be viable, so im just thinking aloud. Any ideas?

Thanks in advance

 

عقب
بالا