Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to send a mix of files and URLs? #25

Open
cbetta opened this issue Apr 5, 2017 · 2 comments
Open

Ability to send a mix of files and URLs? #25

cbetta opened this issue Apr 5, 2017 · 2 comments

Comments

@cbetta
Copy link
Contributor

cbetta commented Apr 5, 2017

The API supports various types of documents, including local files, remote html urls, and more. They can be sent all as 1 fax. Does the java SDK support this? I only seem to be able to provide an array of File objects and InputStream objects, but not URLs, and not even those 2 mixed.

See this Ruby sample for an idea of what I'm looking to do:

https://github.com/interfax/interfax-ruby-samples/blob/master/extra_3_send_multiple_documents_as_1_fax.rb

@anuragkapur
Copy link
Collaborator

Sending faxes via urls is supported - https://github.com/interfax/interfax-java/blob/master/src/main/java/net/interfax/rest/client/InterFAX.java#L114

Combinations aren't supported, I'll update.

@cbetta
Copy link
Contributor Author

cbetta commented Apr 5, 2017

@anuragkapur great thank you, I got the info about multiples from this section:

To send multiple files just pass in an array of files or inputstreams and indeed meant that URIs are not supported for sending multiple files.

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

No branches or pull requests

2 participants