1
0
-1

Dear Expert,

I would like to use Json API to start a process with the following URL.

http://127.0.0.1:8080/jw/web/json/workflow/process/start/EGN_ERP:2:StockTransfer?j_username=admin&j_password=admin

However, I got an error with 

{"error":{"date":"Fri Oct 07 15:48:18 ICT 2016","code":"405","message":"Request method 'GET' not supported"}}

and the Joget.log have show the following

INFO 07 Oct 2016 10:05:44 org.joget.apps.workflow.security.WorkflowAuthenticationProvider - Authentication for user admin: true
INFO 07 Oct 2016 10:05:44 org.joget.apps.workflow.security.WorkflowHttpAuthProcessingFilter - Authentication for user admin: true

My Domain API Whitelist = *

And here is my Workflow denifition

Do anyone can help me to troubleshot this ?

Best Regards

Tony Chu

    CommentAdd your comment...

    1 answer

    1.  
      2
      1
      0

      Dear Expert,

      My problem is fixed by using Form JSON Post Tools Plugin,

      Best Regards

      Tony Chu

      1. parashuram

        Tony Chu Hi Tony, I am facing one issue that when I start process using json api using below url with POST method, its returning empty response with 200 status. http://localhost:8092/jw/web/json/workflow/process/start/my_app_id:1:my_processId?j_username=admin&password=admin response { "activityId": "", "processId": "" } Any idea why this might be the case? Thanks

      CommentAdd your comment...