| repo password user authToken jsonData entityData | repo := FossilRepo new remote: 'http://localhost:8081'. password := 'trustno1'. user := 'offray'. authToken := repo authTokenFor: user withPassword: password. jsonData := STONJSON toString: { #authToken->authToken. #payload->({ #name->'test'. #content->'something' } asDictionary) } asDictionary. entityData := ZnEntity with: jsonData type: ZnMimeType applicationJson. ZnEasy post: 'http://localhost:8081/json/wiki/create' data: entityData