I am trying to get the token from a web api (Verizon API). The process they want you to follow is
- get the token
a. It will return a text only result that is the token
b. This token then has to be passed to another API for the specifice entity you are after. In my case GPS locations.
c. Here is a sample of the token
i. eyJhbGciOiJSUzI1NiIsImtpZCI6IjJDREY5REVGNkI2RDMwNTM3QTdFRTZENzI3MDYxQzkxQzgzMTQ1MjkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJMTi1kNzJ0dE1GTjZmdWJYSndZY2tjZ3hSU2sifQ.eyJuYmYiOjE3MTE5ODQ0MDAsImV4cCI6MTcxMjA3MDgwMCwiaXNzIjoiaHR0cHM6Ly9hdXRoLnVzLmZsZWV0bWF0aWNzLmNvbS90b2tlbiIsImF1ZCI6WyJodHRwczovL2F1dGgudXMuZmxlZXRtYXRpY3MuY29tL3Rva2VuL3Jlc291cmNlcyIsIm9wZW5pZCIsInByb2ZpbGUiLCJyZXZlYWwiXSwiY2xpZW50X2lkIjoicmV2ZWFsLWV4dGVybmFsdG9rZW4tYXBpIiwic3ViIjoiYTljYzI2NzEtYWMwNy00NDEwLWViY2YtMDhkOTBiYjliYWI3IiwiYXV0aF90aW1lIjoxNzExOTg0NDAwLCJpZHAiOiJsb2NhbCIsInJldmVhbF9hY2NvdW50X2lkIjoiMTIwODk1NSIsInJldmVhbF91c2VyX2lkIjoiNTQ2ODQ4NyIsInJldmVhbF91c2VyX3R5cGVfaWQiOiIzIiwidW5pcXVlX25hbWUiOiJqYWF0LnNvbHV0aW9uc0BnbWFpbC5jb20iLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJSRVNUX2Fzc2V0c0BDYXJtZW5UcmFuLmNvbSIsIm5hbWUiOiJSRVNUX2Fzc2V0c0BDYXJtZW5UcmFuLmNvbSIsImVtYWlsIjoiUkVTVF9hc3NldHNAQ2FybWVuVHJhbi5jb20iLCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsImp0aSI6ImZiNmVhM2I5MjU3ZTY3NDM5YTM2YTlkOGJjZTBlMDNhIiwiaWF0IjoxNzExOTg0NDAwLCJzY29wZSI6WyJvcGVuaWQiLCJwcm9maWxlIiwicmV2ZWFsIl0sImFtciI6WyJwd2QiXX0.S05UALlwdIwP4Lc-jpFKe0kH7YLSFdxSSdBxQYxKjhAHlFhowqKkabx9CLkUCcyWjG02WMjvwjMasyvbGpDBQ-Ef8IgyzUgoFaSjQdJWLxkljMyl9fPKr6DjaTgBAIXe9yLiKNAOTSgo7F0OvsBhdRDaYMDW-IsO_P1PdaeNDXXXyDKnMK6o7vGz1cA7g5DM8TK0uJU_Ru_sWYvhf50BJVa677JMSKGqf3LhYwkEX3OesxjSbWq-eFukSnfgT3DFxNyi_FVg-7hZslHNFXd2OL1KR-kgW8zZs1JtJLcpQwlW06ie3Mri_1p8V78eTVBgsMWP-HRk7PtZrD9RUYM1BA
d. The token is good for 20 minutes - What action should I be using to get the token. It is a URL that asks for userid and password.
- Then place that result in a parameter to call anther module that will fetch the entity. The header of that requires an API key and the token abover.
- So that is the workflow. Any ideas on what actions or techniques to use to achieve this goal.