Get method not supported

Confluence User - 02 Dec, 2016

The following was working on 11/24 but not now. What changed?

// 20161202103859
// https://utc.cloud.joget.com/jw/web/json/workflow/process/start/postSaleProcess:109:process1?var_opportunity=Joey%27s%20Doggie%20Day%20Care&var_id=9824&var_assignedTo=jartiste&var_username=jartiste%20wrap_in_array:%20no%20payload_type:%20form%20auth:%20jartiste|jartiste%20unflatten:%20false

{
"error": {
"date": "Fri Dec 02 15:39:59 UTC 2016",
"code": "405",
"message": "Request method 'GET' not supported"
}
}

 

Thanks!

forms;user

1


03 Dec, 2016
confluenceUser
confluenceUser

Hi, according to the API documentation at JSON API#web/json/workflow/process/start/(*:processDefId), you need to use HTTP POST to start a process. It's also mentioned in v4 Security Hardening and Enhancements 

  1. JSON API Requests - JSON API requests that modify state now only accept HTTP POST only to prevent cross-site request forgery (CSRF).

so it has been in effect since v4.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print