# At Start of Application
client =
AFMotion::Client
.
build
(
"https://alpha-api.app.net/"
)
do
header
"Accept"
,
"application/json"
response_serializer
:json
end
# When User Object and Token Generated
client.
post
(
"register"
)
do
|
result
|
end