Connecting GWT widget and JIRA - gwt

I have a GWT screen in which i have a file upload bar,whenever i attach something and click send,the request should go on server side which in turn logs an JIRA request with attachment as the same which was attached to my GWT widget.
Not able to code it.
I've made the particular widget. Server side processing which includes raising JIRA request is remaining.
Please help.
Thanks

If you need to upload an attachment to a JIRA issue I would recommend you to use the JIRA built-in REST API.
See information on the operation of attachment POST here: https://developer.atlassian.com/static/rest/jira/4.4.1.html#id149632
And general information on REST implementation here:
https://developer.atlassian.com/display/JIRADEV/JIRA+REST+APIs
So basically the process would be as follows: You initiate upload from client side to your server, your server validates the file and then uploads file to JIRA via the REST API.

Related

Web based open source REST client to integrate in a webapp

I am looking for a web based open source REST client, that I can integrate in my web app. The requirement is to enter the URL, configure GET/POST/PUT/etc, request body, authorization (e.g. Basic, oAuth), parameterize some variables like query, header, etc. I should be able to extend it further as well by forking it.
May be a lighter version of Postman or Insomnia client.
Any suggestions here would be much appreciated.

Capture disappearing API link and payload from browser

I am trying to capture payload information and Endpoint link from a particular web site i am using, Since i don`t have any documentation i have to capture endpoint manually.
i see Endpoint link is appears in web inspect for 3-4 seconds when i do any post request and disappears before i can capture all details.. is there any way i can delay endpoint visibility in browser and capture information?
This may not be programming question but this task mostly performed by programmer, Hence looking for answer in this site.
Thanks
I am able to resolve it.
From Chrome network option Check option-- > preserve Log

Can I get/put OneNote RAW page data?

I'm trying to backup/restore the OneNote contents on a business site.
Currently the API returns the HTML translated content of a Page, but some extensions or Ink data is missing.
Well, I did see Beta status API for Ink data. But why don't just get the whole data as it is, and restore it as it was?
I also know OneNote data is synced on OneDrive storage, but downloading as it is and restore it with Graph API doesn't work.
I need to parse the HTML and download the resources again and if there's some missing content then I have to wait for another beta API. And when restore I have to construct a multi-part request.
Can you please provide additional API for downloading/uploading the RAW content?
Thanks in advance.
This isn't supported by the OneNote API. In theory, you could use the OneDrive API to download the notebook as a folder or section as a file, which would have all the information.

rest client in pentaho

I am very new to the pentaho data integration tool.
I want to consume a restful service(post web service) from my pentaho. For that i found that i should use a rest client. But when i give the url and body(as i want to consume post service) it is not making the necessary changes in the database.
Can anyone tell me how to give body in the rest client in pentaho? i suspect that there is some different way to give the body in the body field of rest client.
I am attaching the screenshot of the rest client which i am making.
Also can anyone suggest me some good links where i can find tutorials for pentaho.
In PDI, you need to receive rows, and process them in the next step.
For this case, as stated in the forum, you first need the "GENERATE ROWS" step, to make at least one call to the REST webservice.
Remember to generate only 1 row, else, you will make a X number of calls to the REST webservice.
Then, in the "REST CLIENT" step, choose the field that is generating the row with the URL in the attribute "Accept URL from field".
Hope it helps.
Use Generate Rows for your url then pass that to the REST Client and use the 'Accept URL from field'. That's the only I found it to work.

Is there a quick way send post requests?

i want to test a small php script i wrote, which accepts POST requests..
but is there a way to test it without writing a html form.
Im trying to do this using simple rest client chrome extension. But I'm not sure how to do POST request in it.
By using Advanced REST Client, you can send a POST request in which the data can be stored as form data (probably the simplest).
Just click the second Form tab when entering the application, and you can specify key-value pairs.
Here is an image of the application.
I use a very nice Chrome extension for this: REST client or similar. Look in the chrome market, is plenty of tools.