API Test - boxalino/rtux-integration-magento2 GitHub Wiki

Testing the API requests is possible with the help of Postman or Advanced Rest Client (from Chrome) https://chrome.google.com/webstore/detail/advanced-rest-client/hgmloofddffdnphfgcellkdfbfbjeloo/related

Request Headers

The request has the following requirements:

  • 'POST' request
  • 'Content-Type' => 'application/json'

similar to: POST https://[SUB-DOMAIN].bx-cloud.com/narrative/[ACCOUNT]/api/1?profileId=[PROFILE_ID]

JSON

The API request is a JSON structure, as declared in Official Narrative API - Technical Reference

When the environment has the Test mode enabled the API request is logged in the Magento2 server logs (info).