Chrome’s Postman to the rescue
So I’ve been working on a AngularJS and Asp.Net MVC API project and was stomped with a upload functionality with AngularJS. It wasn’t as simple to implement as a .NET upload or JQuery upload tool, so I had to do some research and ensure that I was packaging the request properly to post the file to the WebAPI. Well in my struggles, I was introduced to Google Chrome’s Postman app. I was able to securely isolate API request/responses and investigate what was going on. It has tons of features that allow you to simulate a request and identify what’s expected on a get or post to your api. There’s plenty of Getting Started with Postman. Additional Resource: http://www.techrepublic.com/article/chrome-add-on-postman-streamlines-testing-apis/ |