Contributions
Re: Regex with Dates
Thanks for much for the quick response! I might be misunderstanding the point of the Pattern property. No matter what I put in the regex expression, the output always come back in the same format "YYY-MM-DD" Can we use Regex to change the actual output value format? (apologies I'm new to Regex)674Views0likes1CommentRegex with Dates
Is it possible to change the date format with RegEx? The standard format with dates is: YYYY-MM-DD However, I need all dates in MM/DD/YYY Is it possible to place YYYY on the end, and replace the "-" with "/" ? Please let me know if anyone has been able to solve this before!679Views0likes3CommentsRe: Working with XML APIs and Converting Response to JSON
Thanks for the support! I don't even have application/xml as an applicable response content, yet it is still returning XML. I do know that the API is an XML api (abr.business.gov.au/abrxmlsearch/abrxmlsearch.asmx/SearchByABNv202001). Could this be the reason I am only getting XML, or is there a way for Swagger to be able to return it as JSON?942Views0likes1CommentWorking with XML APIs and Converting Response to JSON
Hello - I'm a bit new to this, but I am working with an XML API. Even when I set the "Response content type" to application/json, the response is still in XML. Is there a way I can ensure I will return JSON every time?Solved1KViews0likes3Comments