[SOLVED] Â REST API Client Examples |
1/18/2021 7:27:20 PM |
PHPRunner General questions | |
S
salus1 authorDevClub member
Greetings, |
|
T
|
Tim 1/19/2021 |
I don't have an answer to your question, but I can point you to the latest manual. |
S
|
salus1 authorDevClub member 1/19/2021 |
Excellent, thank you very much. |
![]() |
Admin 1/19/2021 |
The manual can always use more examples. While this specific example is missing I will show two options of how this can be solved.
|
S
|
salus1 authorDevClub member 1/19/2021 |
Thanks for that info. After some experimentation I found that the CURLOPT_HTTPHEADER had to be an array. The following now works like a charm (X-Auth-Token value altered below, need to supply your own). <?php |
![]() |
Admin 1/19/2021 |
Awesome, thank you for the update! |