Skip to content
This repository has been archived by the owner on Mar 1, 2021. It is now read-only.

REST console help #89

Open
barkhakeni opened this issue Feb 27, 2013 · 2 comments
Open

REST console help #89

barkhakeni opened this issue Feb 27, 2013 · 2 comments

Comments

@barkhakeni
Copy link

I am using REST console to test some of our REST webservices and wanted your help on how to use REST console. We have created POST call which accepts multipart/form-data. Do you know how to construct a multipart body in REST console? I tried to add attachments and data in RAW payload section but that didnt work. I could not see any payload in multipart object. I did set the content type to multipart-formdata but that didnt work. I use Advanced REST client to set up multipart form data. I wanted to know if it is possible in REST console.

@ahmadnassri
Copy link
Owner

can you provide some examples of the request you are sending, perhaps the HAR extract?

@barkhakeni
Copy link
Author

Thanks for your reply. I have extracted the request i created from rest
client. I am not able to attached with the email So i have copied the
contents below. While constructing multipart body, rest client adds the
boundary itself. I dont see that happening in REST console.

1.1
http://localhost:8082/RESTfulExample/rest/file/uploadPOSTC:\Users\kenib\Documents\Projects\Vision
OS-Compliance\2013.pdfC:\Users\kenib\Documents\Projects\Vision
OS-Compliance\2012.pdf<files>
<file>system1</file>
<file>system2</file>
</files>

On Wed, Feb 27, 2013 at 2:06 PM, Ahmad Nassri [email protected]:

can you provide some examples of the request you are sending, perhaps the
HAR extract?


Reply to this email directly or view it on GitHubhttps://github.com//issues/89#issuecomment-14192529
.

Thanks,
Barkha

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants