JSON POST Tool not working with v6 Beta

Confluence User - 05 Jun, 2017

I don't seem to have any success in using the JSON POST Tool to send to requestb.in with v6 Beta. Is there an issue with using the JSON POST Tool with v6 Beta?

Thanks!

process;tools

5


05 Jun, 2017
confluenceUser
confluenceUser

Hi William,

The JSON Post Tool is no longer needed in v6 Beta2 because the out-of-the-box JSON Tool has been improved and can do POST and GET requests now.

It also has a debug mode making it a lot easier to troubleshoot.

 

Cheers,

Eric

05 Jun, 2017
confluenceUser
confluenceUser

Eric,

Thanks! However, I am currently in v6 Beta1. How do I upgrade to get the new JSON Tool?

Bill

06 Jun, 2017
confluenceUser
confluenceUser

William, You can just download the Beta2 from the Joget website. If you install the windows version, it will detect the old version and attempt the upgrade. On Linux you normally just need to replace the jw.war and jwdesigner.war files under tomcat webapps. Hope this helps. Cheers, Eric

12 Dec, 2017
confluenceUser
confluenceUser

In addition to doing POST and GET requests, I have had sucess doing PUT and other request methods by modifying the header using the "X-HTTP-Method-Override" method.  More info on HTTP headers here https://en.wikipedia.org/wiki/List_of_HTTP_header_fields

 

For example, to do a PUT request:

Within JSON Tool,

Call Type: POST

POST Method: Custom JSON Payload

...enter your json payload

 

under "Request Header" section:

Name : X-HTTP-Method-Override

Value: PUT

 

 

*Try substituting "Value" with DELETE, OPTIONS, TRACE, etc. for other methods. (I've used PUT & DELETE sucessfully, but it's probably dependant on the API you are communicating with)

20 Feb, 2018
confluenceUser
confluenceUser

Owen Ong , would be great to add this improvement to a future v6 release (ie being able to select PUT, OPTIONS, DELETE, ...)

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print