Woopra / Woopra-iOS

MIT License
1 stars 5 forks source link

Use HTTP POST in the Tracker #8

Closed JungHsuan closed 5 months ago

JungHsuan commented 5 months ago

Purpose:

Change to use HTTP POST in the WTracker

Changes:

Use the HTTP POST instead of the GET method to send the request.

Expected Behavior:

The tracker is still functioning as it did before.

How To Verify it:

Start a track event and check if it appears on the dashboard.

     let event = WEvent.event(name: "event-name")
     event.add(property: "view", value: "view-value")
     WTracker.shared.trackEvent(event)