Jump to content

Get X-API-KEY with API or something?


Spooling

Recommended Posts

Hello!

I develop ACARS for phpVMS 7 with Visual C# WPF, and I have some problem by collect X-API-KEY.

I was try to use Laravel Passport(aka oAuth module), But phpVMS API's are linked with X-API-KEY so It's very difficult to migration with phpVMS 7.

 

Now I try to use Webbrowser for login, and parse html source for collect X-API-KEY. 

If you login with ID and password in phpVMS 7, You can see your X-API-KEY in html source, So I decide to make with this source.

but Webpage's UI is different with ACARS program's UI, and I have many problem for design our UI when I get API-KEY with this solution.

 

I want to solve this problem, How can I get X-API-KEY without Webbrowser module?

Thanks for read this post, and I will wait for reply :)

Edited by Spooling
Link to comment
Share on other sites

  • Administrators

The user needs to get the API key from their profile, and then enter it into your app. Then the app should use that key to access the API. Your app shouldn't be trying to do any logging in or parsing for the API key... that's the point of having it, so you don't need to do that.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...