Login into REST API using PHP


#1

Hey,

is there another way to authenticate to the REST API (Version 1) instead of using basic authentication with base64 encryption ? I had only found the basic authentication example in your wiki.


#2

You can use HTTP Post on / with the fields user and pass.


#3

According to your query, you want to Login into REST API using PHP RT.

Basically, Login into REST API using PHP can be a challenging process because you have to deal with many issues. But I can guide you step by step procedure with an example of how to get started with REST API using PHP.

This document explains step by step how to Login into REST API using PHP:

https://zappysys.com/blog/howto-import-json-rest-api-power-bi/

Hope it helps!