Mocking a rate limiting endpoint 429

Ever have some client code that needs to call another endpoint which rate limits you? Join the club. I recently did, and honestly I didn't care at all about the ONE particular rest client that needed to backoff appropriately when the 429s were being barfed back; instead what I did care about was implementing a … Continue reading Mocking a rate limiting endpoint 429

Easy Multipart file uploads / POSTs using URLStream or AS3HttpClientLib

When working on a cross runtime Zinc/AIR method method of posting files to a remote server, I came across Mike Stead's URLFileVariable and URLRequestBuilder classes which makes the process of uploading multiple files (or ByteArray's of data) via an HTTP POST much easier. Click here get his code The basic concept is this: assuming you … Continue reading Easy Multipart file uploads / POSTs using URLStream or AS3HttpClientLib

Advanced HTTP operations in Flex outside of AIR

I am currently pretty deep into a Flex/AS3 RIA desktop app project whereby I have several advanced needs. Such as to download partial files to the desktop (byte-range requests), execute HEAD requests to get remote file sizes, execute multipart POSTs, talk to some REST apis, and finally be able to read any write HTTP headers..... … Continue reading Advanced HTTP operations in Flex outside of AIR