on 03-04-2016 11:22 AM
Hi All,
I am referring to
I have built gateway service as mentioned in the above blog,
I am ready to post file through GW.
But as I am new to gateway I don't know how to prepare the HTTP request for this.
Please let me know what will be Header "Content-Type" and "slug" values for my ZIP file.
How do I link my Zip File in my local desktop to HTTP request values and run the POST HTTP method.
It will be great help if you let me know the steps to add my Zip file name to slug header name value.
Thanks a lot and appreciate all your help.
Kind Regards,
Madhu M V
Hello Madhu,
All you need to do is just click on add file and browse the .zip file and attach in GW Client.
Next for zip files set ' Content-Type ' as ' application/x-zip-compressed '
Keys should go in ' slug ' parameter. In the screen shot you are already passing correctly.
Rest would be same as shown in blog which your are referring.
Regards,
Ashwin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashwin,
Thanks a lot for your support, that really helps. Appreciate!
That was quick response.
One doubt:
In screen shot I have SLUG = image.jpg. I am not loading image, it is a ZIP file. For ZIP files also it is " image.jpg"?
I will implement and mark it as correct answer.
Kind Regards,
Madhu M V
Its just a key which you would like to maintain to uniquely identify any media content. Its not specific to any types here. Again its left to you to send what is the type here like .zip, .pfd etc.
For example - ( You can decide with what you would like to store that .zip file as )
Say i have a Document Number 3900000025 for a Company Code 1000 for a Fiscal Year 2016.
Then now i would send slug ' 3900000025_1000_2016_zip ' in slug and and use this name to store the .zip file. So that later i can identity it easily.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.