Problem of use JSON API

Confluence User - 24 Apr, 2020

Hi dear
I'm having problems using the JSON API. How can I solve this problem? 

I Use "web/json/monitoring/process/copy/(*:processId)/(*:processDefId)" 
for re-process that has been canceled
but I received the result as 
{"error":{
"date":"Fri Apr 24 11:13:46 ICT 2020",
"code":"405",
"message":"Request method 'GET' not supported"
}}

Joget version : 6

api;json;plugins;tools

4


24 Apr, 2020
confluenceUser
1
confluenceUser

As documented in JSON API#web/json/monitoring/process/copy/(*:processId)/(*:processDefId). The API requires POST method, not GET

24 Apr, 2020
confluenceUser
confluenceUser

How can I send Post method?

24 Apr, 2020
confluenceUser
confluenceUser

POST Method can not just send url in browser but need to be pass request parameter for security reason.


You should try with POST tool like Postman 

25 Apr, 2020
confluenceUser
confluenceUser

There are several API clients out there, I think Postman and CURL are 2 of the most popular tools.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print