Page 1 of 1

Unable to use API using POSTMAN - no XML response

Posted: Thu Oct 10, 2024 3:04 am
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

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

Posted: Thu Oct 10, 2024 10:54 am
by alfa24
Why GET?

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

Posted: Thu Oct 10, 2024 11:18 am
by zaff
sorry, It was meant to be POST...but i get the same response ...(rather no response)

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

Posted: Thu Oct 10, 2024 11:20 am
by alfa24
Btw, I don't use postman for testing Forma APIs, it's better to write a layer in PHP directly.