Community
Participate
Working Groups
Currently in Webkit2, when setUrl(..) is called with PostData, then a workaround is triggered that uses java to make the http request because webkit2 doesn't provide the necessary api for it. This was implemented here: 527738 – (webkit2portPostData) [Webkit2] implement setUrl(...POST..) support. (snippet 330) https://bugs.eclipse.org/bugs/show_bug.cgi?id=527738 However, in the long-run, it would be better to have webkit2 api for this and do this without java. This is the bug to keep track of it.
Current webkit2 api doesn't allow the method to be set to post and doesn't allow us to specify post-data: https://webkitgtk.org/reference/webkit2gtk/stable/WebKitURIRequest.html (Webkitgtk 2.18) We've put in a request and asked to have it added and them to comment in this bug when(if) it does: https://bugs.webkit.org/show_bug.cgi?id=129379 To the future reader: Snippet330 is a good example of setUrl with postData pay load, may be a good stating point. Good luck.