http-post-vars
How to modify a request in Fiddler?
Ok, posting the answer that I put together from piecing it together from the following youtube video: Tampering Client Requests and Server Responses with Fiddler Start fiddler (I’m using Fiddler 4) You will notice that it intercepts all traffic through all browsers and other applications Set a filter – this will enable you to view … Read more
POST multipart/form-data with Objective-C
The process is as follows: Create dictionary with the userName, userEmail, and userPassword parameters. NSDictionary *params = @{@”userName” : @”rob”, @”userEmail” : @”rob@email.com”, @”userPassword” : @”password”}; Determine the path for the image: NSString *path = [[NSBundle mainBundle] pathForResource:@”avatar” ofType:@”png”]; Create the request: NSString *boundary = [self generateBoundaryString]; // configure the request NSMutableURLRequest *request = [[NSMutableURLRequest … Read more
Why is it that “No HTTP resource was found that matches the request URI” here?
Your problems have nothing to do with POST/GET but only with how you specify parameters in RouteAttribute. To ensure this, I added support for both verbs in my samples. Let’s go back to two very simple working examples. [Route(“api/deliveryitems/{anyString}”)] [HttpGet, HttpPost] public HttpResponseMessage GetDeliveryItemsOne(string anyString) { return Request.CreateResponse<string>(HttpStatusCode.OK, anyString); } And [Route(“api/deliveryitems”)] [HttpGet, HttpPost] public … Read more