Skip to content
This repository

A free, native Apple OS X app for testing HTTP/REST endpoints

branch: master
Octocat-spinner-32 Base64 Issue #28: Adding pre-emptive HTTP Basic Auth checkbox June 09, 2013
Octocat-spinner-32 CocoaRestClient.xcodeproj Issue #9: Adding basic tree structure to saved requests, ability to a… March 30, 2014
Octocat-spinner-32 English.lproj Issue #9: Adding basic tree structure to saved requests, ability to a… March 30, 2014
Octocat-spinner-32 JSON Putting JSON and request sources into folders February 25, 2012
Octocat-spinner-32 MGSFragaria.framework Updating MGSFragaria framework to support both i386 and x86_64 archit… May 14, 2012
Octocat-spinner-32 MsgPack Added support for MsgPack (www.msgpack.org) encoded responses March 27, 2013
Octocat-spinner-32 ReleaseNotes Updating readme and release notes September 08, 2013
Octocat-spinner-32 Sparkle.framework Adding Sparkle framework September 09, 2011
Octocat-spinner-32 core Issue #9: Adding basic tree structure to saved requests, ability to a… March 30, 2014
Octocat-spinner-32 request Issue #9: Adding basic tree structure to saved requests, ability to a… March 30, 2014
Octocat-spinner-32 screenshots Updating screenshots August 26, 2012
Octocat-spinner-32 view Making tabbing to next row for request parameters and request headers… June 10, 2013
Octocat-spinner-32 .gitignore Adding .DS_Store to gitignore February 25, 2012
Octocat-spinner-32 .gitmodules Syntax highlighting first iteration May 10, 2012
Octocat-spinner-32 CocoaRestClient-Info.plist Bumping to version 1.3.8 February 16, 2014
Octocat-spinner-32 LICENSE.txt Updating license for 2014 February 16, 2014
Octocat-spinner-32 README.md Adding link to project website to README February 16, 2014
Octocat-spinner-32 appcast.xml Switching to new update location and updating appcast for new release. February 16, 2014
README.md

About

CocoaRestClient is a Mac OS X app for testing HTTP/Restful endpoints.

I love curl, but sometimes I need my output XML or JSON pretty printed. I want to be able to save frequent PUT and POST bodies for later and copy and paste from responses easily. Think of this as curl with a light UI.

The goal of this project is to build a lightweight native Cocoa app for testing and debugging HTTP Restful services. This project was greatly inspired by the Java rest-client (http://code.google.com/p/rest-client/).

Official project website: http://mmattozzi.github.io/cocoa-rest-client/

Download

If you're not looking to compile from source and only want to use this tool, latest releases are here:

Download List

Features

  • Make GET, PUT, POST, DELETE, HEAD calls
  • Set request body to arbitrary content
  • Set request headers
  • Set HTTP basic & digest auth
  • Auto-format (pretty print) XML and JSON responses
  • Display response headers
  • Quick save requests in a handy drawer
  • Upload files and form data via multipart/form-data
  • Enter POST/PUT input as raw input or key/value pairs
  • Reports response latency
  • Command-R reloads last request
  • Lightweight: Low real memory usage
  • SSL Support (including untrusted certificates)
  • Optionally follows HTTP redirects
  • Import and export requests

Screenshots

Screenshot 1

Pretty print XML content. Quick save of request URLs, body, and headers in one convenient drawer.

Screenshot 2

Pretty print JSON content. Set and save HTTP headers.

Screenshot 3

Set HTTP Basic or Digest Auth. Displays HTTP response headers.

Screenshot 4

Set HTTP request body content to a raw text blob or a list of parameters.

Screenshot 5

Upload files using HTTP multipart requests. HTTP form encoding also supported.

Source and Contributions

  • Source code is hosted on Github: http://github.com/mmattozzi/cocoa-rest-client
  • If you would like to contribute, please fork and create a pull request on Github
  • Downloads and issues will still be kept up to date on Google Code. I will probably keep source up to date with each release.
  • I don't plan on switching from Garbage Collection to ARC until I drop 10.6 support, as there seems to be some limitations with ARC on 10.6. I will most likely switch to ARC when OS X 10.8 is released.
  • I am not turning on AutoLayout constraints in my xib files until I drop 10.6 support.
  • The main xib file is a minefield. An xcode update a year or two ago left it in a state such that it messes up the layout of the application's components every time it opens. If anybody knows how to fix this, that would be amazing. Otherwise, be wary of small changes to the UI... they require sizing all the components back to their original locations.

Credits

Something went wrong with that request. Please try again.