Jump to content

jorgeorbit

Members
  • Posts

    3
  • Joined

  • Last visited

jorgeorbit's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I am getting the response: ["Code"]=> string(22) "IncorrectBodyParameter" ["Message"]=> string(73) "Cannot perform operation because the body parameter is absent or invalid." This is my PHP code: $accesstoken = '___my token___'; $ch = curl_init(); $headr = array(); $headr[] = 'Content-length: 0'; $headr[] = 'accept: application/json'; $headr[] = 'Authorization: bearer '.$accesstoken; curl_setopt($ch, CURLOPT_HTTPHEADER,$headr); curl_setopt($ch, CURLOPT_POST,true); // Initiate curl curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // Set the url $mnxdb_url = "___my url taken from swager__"; curl_setopt($ch, CURLOPT_URL,$mnxdb_url); // Execute $result=curl_exec($ch); // check for error if ($result === false) { print_r('Curl error: ' . curl_error($ch)); } // Closing curl_close($ch);
  2. I am following the example creating the login screen for a registration-login process and I get this message on my login page on my website when I deploy the code: This page doesn't seem to exist. It looks like the link pointing here was faulty. Maybe try searching?
×
×
  • Create New...