I'm using this
https://github.com/pokeb/asi-http-request/tree
I've this JSON type, and I want to post data in the same format, I've no idea how I should do it...
Code:
{
Email:*"me@example.com"
FirstName:*"Alice"
LastName:*"Walmer"
Phone:*"0345564266"
CellPhone:*"0345564266"
-
Account: {
LoginName:*"me@example.com"
Name:*"Alice Walmer"
-
Roles: [
24
]
}
-
DeliveryAddresses: [
-
{
Id:*154105
Line1:*"Ex Avenue 36"
Zip:*"13446"
City:*"Some City"
CountryId:*1
Country:*"Some Country"
}
]
-
InvoiceAddress: {
Id:*154104
Line1:*"Ex Avenue 36"
Zip:*"13446"
City:*"Some City"
CountryId:*1
Country:*"Some Country"
}
UseInvoiceAddressAsDeliveryAddress:*true
}
Please, tell me how can I make a post object with this JSON response. Should I use xml instead ????