Unable to use API using POSTMAN - no XML response

Install and configure FormaLMS and DoceboCE
Post Reply
zaff
Newbie
Posts: 9
Joined: Mon Aug 06, 2018 7:05 pm
Version: forma.lms 2.0

Unable to use API using POSTMAN - no XML response

Post by zaff »

Hi I am using Postman to test the authentication API. Not sure if I am doing the right thing. I do get 200 OK but don't get XML response back from the server. I have attached the details below with the screenshot.

I converted this - into a prescript code [in the screenshot]
$codice_sha1 = strtolower(sha1(implode(',', $params) . ',' . $secret));
$codice = base64_encode($key . ':' . $codice_sha1);

But I don't get any XML response back. Please help
Attachments
Slide1.JPG
Slide2.JPG
Slide3.JPG
alfa24
Senior Boarder
Posts: 2124
Joined: Fri Nov 24, 2017 8:45 am

Re: Unable to use API using POSTMAN - no XML response

Post by alfa24 »

Why GET?
Per supporto GRATUITO contattatemi in privato qui
zaff
Newbie
Posts: 9
Joined: Mon Aug 06, 2018 7:05 pm
Version: forma.lms 2.0

Re: Unable to use API using POSTMAN - no XML response

Post by zaff »

sorry, It was meant to be POST...but i get the same response ...(rather no response)
alfa24
Senior Boarder
Posts: 2124
Joined: Fri Nov 24, 2017 8:45 am

Re: Unable to use API using POSTMAN - no XML response

Post by alfa24 »

Btw, I don't use postman for testing Forma APIs, it's better to write a layer in PHP directly.
Per supporto GRATUITO contattatemi in privato qui
Post Reply