Skip to content

Conversation

@josephtingiris
Copy link
Contributor

replace random tabs with (4) spaces,
add Content-Length header to authorization (fixes apache 2.4 sending 400 for Content-Length: -1),
trim newline in token (fixes nginx sending 400 for CR/LF in token),
if not GET then add json_encode($params) to CURLOPT_POSTFIELDS

note this PR contains 2/3 changes from #16

trim newline in token (fixes nginx sending 400 for CR/LF in token),
if not GET then add json_encode($params) to CURLOPT_POSTFIELDS

the third, which removes $debug functionality was/is not included in this PR

…horization (fixes apache 2.4 sending 400 for Content-Length: -1), trim newline in token (fixes nginx sending 400 for CR/LF in token), if not GET then add json_encode($params) to CURLOPT_POSTFIELDS
@phpipam phpipam merged commit fc8df92 into phpipam:master Mar 18, 2020
cmeissner pushed a commit to cmeissner/phpipam-api-clients that referenced this pull request May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants