API Documentation

@cherub-chum,

My code was missing a lot of what your link had. I copied the code from your link and added my credentials. I now get an internal 500 error when I visit the page with my PHP.

I’ve removed IP and URL. Both are not publicly accessible anyhow.

*   Trying my-ip...
* TCP_NODELAY set
* Connected to www.team.my-domain.net (my-ip) port 443 (#0)
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server accepted to use http/1.1
* Server certificate:
*  subject: CN=www.team.my-domain.net
*  start date: Aug 17 00:00:00 2020 GMT
*  expire date: Aug 17 23:59:59 2021 GMT
*  issuer: C=GB; ST=Greater Manchester; L=Salford; O=Sectigo Limited; CN=Sectigo RSA Domain Validation Secure Server CA
*  SSL certificate verify ok.
> POST /Api/access_token HTTP/1.1
Host: www.team.my-domain.net
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
cache-control: no-cache
Content-Length: 120

* upload completely sent off: 120 out of 120 bytes
* HTTP 1.0, assume close after body
< HTTP/1.0 500 Internal Server Error
< Date: Mon, 19 Oct 2020 17:16:06 GMT
< Server: Apache/2.4.46 () OpenSSL/1.0.2k-fips
< Upgrade: h2,h2c
< Connection: Upgrade, close
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Methods: POST, GET, OPTIONS, PUT
< Access-Control-Allow-Headers: Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With
< X-Content-Type-Options: nosniff
< Content-Length: 0
< Content-Type: text/html; charset=UTF-8
<
* Closing connection 0 

Thanks

Karen