MIS mock API

Status: running · env: prod · API key configured: yes

Endpoint

POST /api.php — body: a decrypted MIS kundfråga (XML). Returns a MIS Life 2.0 datafile (XML).

Headers

Example

curl -sS https://YOUR-DOMAIN/api.php \
  -H "X-Api-Key: $MIS_API_KEY" \
  -H "Content-Type: application/xml" \
  --data-binary @fraga.xml

On success: 200 + MIS Life XML. Errors return JSON with an error field (401 bad key, 405 wrong method, 422 unparseable fråga).