RESTful API

Third party plugins, patches, bugfixes
Post Reply
Msentri
Newbie
Posts: 11
Joined: Wed May 18, 2016 9:02 am
Version: forma.lms 1.4.1

RESTful API

Post 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

User avatar
alberto
FormaLms Guru
Posts: 981
Joined: Fri Mar 02, 2012 9:18 am
Contact:

Re: RESTful API

Post by alberto »

Hi Msentri, here is some documentation:
viewtopic.php?f=16&t=12456
--------------------------------------------------
Become a CONTRIBUTOR

Support the project for FREE!
www.Elearnit.net

Msentri
Newbie
Posts: 11
Joined: Wed May 18, 2016 9:02 am
Version: forma.lms 1.4.1

Re: RESTful API

Post by Msentri »

Hi Alberto,

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

much appreciated.

jcpoulard
Newbie
Posts: 2
Joined: Mon May 25, 2020 10:04 pm

Re: RESTful API

Post 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 !

alfa24
Senior Boarder
Posts: 809
Joined: Fri Nov 24, 2017 8:45 am
Version: forma.lms 1.4.2

Re: RESTful API

Post by alfa24 »

I use cUrl with Postdata.
Remember to include the following headers:
"Host", "Content-Type", "X-Authorization".
I'm Jasmines, the One. If you need, you can contact me.

jcpoulard
Newbie
Posts: 2
Joined: Mon May 25, 2020 10:04 pm

Re: RESTful API

Post 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

Post Reply