Comments (4)
Hello Brandon,
Could you tell me what the zFile.ContentType is set to? Is it "text/plain"? Here is a list of common content types: http://webdesign.about.com/od/multimedia/a/mime-types-by-content-type.htm
from zendeskapi.
Yes the ContentType is set to "text/plain". I also uploaded a jpg file "Koala2.jpg". The content type on that upload was "image/jpeg" and the results were the same as the text files. The jpg as it was downloaded from the zendesk ticket is attached.
Thanks,
Brandon Gabel
-----Original Message-----
From: eneifert [mailto:[email protected]]
Sent: Tuesday, May 31, 2011 7:13 AM
To: [email protected]
Subject: Re: [ZendDeskApi] Problem uploading attachments (#4)
Hello Brandon,
Could you tell me what the zFile.ContentType is set to? Is it "text/plain"? Here is a list of common content types: http://webdesign.about.com/od/multimedia/a/mime-types-by-content-type.htm
Reply to this email directly or view it on GitHub:
https://github.com/eneifert/ZendDeskApi/issues/4#comment_1266545
from zendeskapi.
Brandon,
I was able to see your problem and I re-wrote the UploadAttachment method so this is now fixed. Although I never could find out exactly what the problem was, I know it had something to do with RestSharp and ZenDesk not playing nice together. I may submit something to the RestSharp team.
If you get the latest now you should be good to go.
Let me know if you have any other questions,
Eric
from zendeskapi.
Works great. Thanks Eric.
-----Original Message-----
From: eneifert [mailto:[email protected]]
Sent: Friday, June 03, 2011 11:37 AM
To: [email protected]
Subject: Re: [ZendDeskApi] Problem uploading attachments (#4)
Brandon,
I was able to see your problem and I re-wrote the UploadAttachment method so this is now fixed. Although I never could find out exactly what the problem was, I know it had something to do with RestSharp and ZenDesk not playing nice together. I may submit something to the RestSharp team.
If you get the latest now you should be good to go.
Let me know if you have any other questions,
Eric
Reply to this email directly or view it on GitHub:
https://github.com/eneifert/ZendDeskApi/issues/4#comment_1297844
from zendeskapi.
Related Issues (12)
- CreateTicketAsEndUser HOT 1
- Critical bug in GetLoginUrl HOT 1
- Nuget package includes it own copy of newtonsoft.json and restsharp HOT 3
- This api is no longer supported HOT 1
- How do I do Attachments? HOT 3
- Weak reference HOT 1
- Testing ZenDeskApi HOT 7
- Get list of forums HOT 2
- Group.Users does not get populated after fetching Group(s) HOT 1
- s/ZenDesk/Zendesk HOT 2
- Organization.Users contains Null HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zendeskapi.