Spring-Boot-starter icon indicating copy to clipboard operation
Spring-Boot-starter copied to clipboard

can you provide a bit of how to test the end point ?

Open skanel opened this issue 7 years ago • 4 comments

can you provide a bit of how to test the end point?

Thanks in advance.

skanel avatar Jun 04 '18 11:06 skanel

Hi, it is fairy simple thing.

Once you obtain the firebase token you just call the register API, this registers the user and allows normal api calls.

After you register the user calling any rest api is simple with firebase auth header X-Authorization-Firebase

You can ceheck the register API and Filter for more details.

savicprvoslav avatar Jun 05 '18 06:06 savicprvoslav

Very appreciate for response, sorry for the beginner question. I have set up project up running. but I am don't understand how to make test, how to get the a firebaseToken , I have also post /api/open/firebase/signup since this function need to pass firebaseToken into header, but how can I can this firebaseToken?

skanel avatar Jun 05 '18 06:06 skanel

Hi, check this link https://teamtreehouse.com/community/how-to-get-firebase-user-token-from-anywhere-in-an-app .

savicprvoslav avatar Jun 05 '18 07:06 savicprvoslav

hello, how can i get firebaseToken to test post api /api/open/firebase/signup in postman?

tranntn avatar Apr 22 '20 03:04 tranntn