The Elearning Community • RESTful API
Page 1 of 1

RESTful API

Posted: Tue May 24, 2016 9:03 am
by Msentri
Hi i would like to know how do i activate and access Forma API ?
and do you have documentation for the API ?

Thanks

Re: RESTful API

Posted: Tue May 24, 2016 8:02 pm
by alberto
Hi Msentri, here is some documentation:
viewtopic.php?f=16&t=12456

Re: RESTful API

Posted: Wed May 25, 2016 7:45 am
by Msentri
Hi Alberto,

Thanks a lot let me look into it then i will give you my feedback.

much appreciated.

Re: RESTful API

Posted: Wed Jul 08, 2020 7:38 pm
by jcpoulard
I would like to know how I can access the API of formalms
I try to connect using this url http://localhost:8888/formalms/api/auth/authenticate inside Postman
this give me this error :

<?xml version="1.0" encoding="UTF-8"?>
<XMLoutput>
<error></error>
</XMLoutput>

Also the documentation don't provide specification in what kind of request the API accept : POST or GET ?
Please some one help me !

Re: RESTful API

Posted: Thu Jul 09, 2020 7:25 am
by alfa24
I use cUrl with Postdata.
Remember to include the following headers:
"Host", "Content-Type", "X-Authorization".

Re: RESTful API

Posted: Sat Jul 11, 2020 8:56 pm
by jcpoulard
alfa24 wrote:
Thu Jul 09, 2020 7:25 am
I use cUrl with Postdata.
Remember to include the following headers:
"Host", "Content-Type", "X-Authorization".
I'm a newbee on API manipulation Can you give me a complete exemple of connection (athentification ) via API to formalms
Thanks a lot

This site uses cookies.

Some of the cookies we use are essential for parts of the site to operate and have already been set. We also use Google Analytics scripts, which all use cookies.
You may delete or block all cookies from this site in your browser options.