Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed .DS_Store
Binary file not shown.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

*.xccheckout
*.xcuserstate
*.xcscheme
*.plist

.DS_Store
4 changes: 2 additions & 2 deletions JSONRPC Tester/JSONRPCService.m
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ -(void) execMethod:(NSString*)methodName andParams:(NSArray*)parameters withID:(

//prepare http body
[request setHTTPMethod: @"POST"];
[request setValue:[NSString stringWithFormat:@"%d", [requestData length]] forHTTPHeaderField:@"Content-Length"];
[request setValue:[NSString stringWithFormat:@"%lu", (unsigned long)[requestData length]] forHTTPHeaderField:@"Content-Length"];
[request setValue:@"application/json" forHTTPHeaderField:@"Accept"];
[request setValue:@"application/x-www-form-urlencoded" forHTTPHeaderField:@"Content-Type"];
[request setValue:@"application/json" forHTTPHeaderField:@"Content-Type"];
[request setHTTPBody: requestData];

if (urlConnection != nil) {
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
This branch is a fix for the application created by @mladjan_antic

JSONRPC Tester is a simple osx app for testing JSONRPC Web services.
![Add Submodule](http://f.cl.ly/items/3y2M0x2B0F2w3u2d391s/Screen%20Shot%202011-12-11%20at%205.47.35%20PM.png)

Expand All @@ -6,4 +8,4 @@ It's free for commercial and non-comercial use.
Author:
Mladjan Antic
@mladjan_antic
mladjanantic.com
mladjanantic.com