View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - [SOLVED] API POST Issues - Page 2 - ProjeQtOr

Prochaines Sessions

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)
 

13 mai 2025 (10h30-12h)

5 juin 2025 (16h-17h30)

 
 

Planifiez avec ProjeQtOr

15 et 16 avril 2025 (9h-12h30)

14 et 15 mai 2025 (9h-12h30)

 
 

Administrez avec ProjeQtOr

23 et 24 avril (9h-12h30)

20 et 21 mai (9h-12h30)

 

 

 

[SOLVED] API POST Issues

More
08 Fév 2019 15:45 #7 by babynus
Replied by babynus on topic API POST Issues
Look at exemples.
Data miust be passed in json format, encrypted with API key

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
08 Fév 2019 15:51 #8 by CarlC
Replied by CarlC on topic API POST Issues
I read the examples and old user manual but those are all for using the API with PHP code which i don't know so i need to do it another way.
I can successfully use cURL and Invoke-WebRequest (powershell) to GET and POST to other API's but i don't understand why the same methods won't work with Projeqtor.

You mention the data has to be encrypted with the API key but i can't find any documentation or examples which show how to do this - except your PHP example.
If there are other examples i have missed please let me know and i'll have a read through them.

Please Connexion or Create an account to join the conversation.

More
08 Fév 2019 16:08 #9 by CarlC
Replied by CarlC on topic API POST Issues
Figured this out and now have a workable command-line version of cURL which is successfully doing both GET and POST.

I think the problem was a combination of:
1) the wrong key length (i've changed it to 256 instead of 128)
2) JSON data wasn't encrypted quite right (don't know how but i pulled it apart, re-encrypted it and now it works)
3) Wrong credentials used for writing (even though the same username/password worked fine for reading)

Please Connexion or Create an account to join the conversation.

More
28 Fév 2025 16:16 #10 by CAIE_guens
Replied by CAIE_guens on topic API POST Issues
HI
with a length of 128, I have the same error message.
If you'll have a full doc, i think I missed somthig.
thanks.
Guenole

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.057 seconds

Paramétrages de cookies

×

Cookies fonctionnels

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Veuillez vous connecter pour voir vos activités!

Autres cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.