mailosaur / mailosaur-java Goto Github PK
View Code? Open in Web Editor NEWMailosaur email and SMS testing library for Java
Home Page: https://mailosaur.com
License: MIT License
Mailosaur email and SMS testing library for Java
Home Page: https://mailosaur.com
License: MIT License
Our team is using Mailosaur from JavaScript already and really enjoying it.
I'm now trying out your Java SDK from our Scala codebase and seeing some surprising results.
I can call various endpoints including list
without issue:
@ (new com.mailosaur.MailosaurClient(MailosaurConstants.ApiKey)).messages.list(MailosaurConstants.ServerId).items
res17: java.util.List[com.mailosaur.models.MessageSummary] = []
But if I try to search
I get a 400 saying I'm missing a server identifier:
@ MailosaurClient.client.messages.search(MailosaurConstants.ServerId, new SearchCriteria())
com.mailosaur.MailosaurException: 400 Bad Request
{"type":"ValidationError","messages":{"criteria":"Please provide a server identifier."}}
com.mailosaur.MailosaurClient.request(MailosaurClient.java:154)
com.mailosaur.Messages.search(Messages.java:93)
ammonite.$sess.cmd18$.<init>(cmd18.sc:1)
ammonite.$sess.cmd18$.<clinit>(cmd18.sc)
Can you help me with this?
I have a server that has 3 messages in and I can see the count in the List Servers API. However when I run List Messages for that server the response is returned empty. What could be the cause of this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.